Change test cases port to be dynamic

To avoid port collision when running in Jenkins
This commit is contained in:
David Cheung 2016-08-11 17:04:23 -04:00
parent 13a049412a
commit dcc575f90b
3 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ describe('executor', function() {
var dummyInstructions = someInstructions({ var dummyInstructions = someInstructions({
config: { config: {
port: 3000, port: 0,
host: '127.0.0.1', host: '127.0.0.1',
restApiRoot: '/rest-api', restApiRoot: '/rest-api',
foo: { bar: 'bat' }, foo: { bar: 'bat' },

View File

@ -1,4 +1,4 @@
{ {
"port": 3000, "port": 0,
"host": "127.0.0.1" "host": "127.0.0.1"
} }

View File

@ -1,4 +1,4 @@
{ {
"port": 3000, "port": 0,
"host": "127.0.0.1" "host": "127.0.0.1"
} }