Meteor test on C9


#1

Hi,

I’m trying to launch meteor test in C9
meteor test --driver-package practicalmeteor:mocha --port $IP:$PORT

I get this error in return

[[[[[ Tests ]]]]]                             

=> Started proxy.                             
Unexpected mongo exit code 48. Restarting.    
Unexpected mongo exit code 48. Restarting.    
Unexpected mongo exit code 48. Restarting.    
Can't start Mongo server.                     
MongoDB exited because its port was closed, or was already
taken by a previous instance of MongoDB

Check for other processes listening on port 1
or other Meteor instances running in the same project.

Does someone managed to get meteor test running on C9 ?

Regards.


#2

48 mongod exits cleanly if the server socket closes. The server socket is on port 27017 by default, or as specified to the --port run-time option.

make sure you do not have another instance of meteor/mongodb running on the same machine


#3

There is no other instance running.
Does the meteor test command support parameter ip:port or only port ?
The error message Check for other processes listening on port 1 is strange, the $PORT variable is 8080, not 1…


#4

port only.  


#5

Ok, I added an issue on github and it has been quickly fixed.
Waiting for a new Meteor release including it.