Change test cases port to be dynamic
To avoid port collision when running in Jenkins
This commit is contained in:
parent
13a049412a
commit
dcc575f90b
|
@ -38,7 +38,7 @@ describe('executor', function() {
|
|||
|
||||
var dummyInstructions = someInstructions({
|
||||
config: {
|
||||
port: 3000,
|
||||
port: 0,
|
||||
host: '127.0.0.1',
|
||||
restApiRoot: '/rest-api',
|
||||
foo: { bar: 'bat' },
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"port": 3000,
|
||||
"port": 0,
|
||||
"host": "127.0.0.1"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"port": 3000,
|
||||
"port": 0,
|
||||
"host": "127.0.0.1"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue