testDocker

2 Things worth to note for running a node service in docker container hosted by travis-ci.

  1. node_modules tricky
  1. service is not really available even it shows up in the docker-compose ps, sometimes calling the service too early might get a connection reset error.
  • delay the calling properly, e.g. using while-try sniff.