test formatting
This commit is contained in:
parent
8802aeeb0b
commit
b3b99482e1
3 changed files with 171 additions and 182 deletions
|
@ -3,9 +3,7 @@
|
||||||
"spec_files": [
|
"spec_files": [
|
||||||
|
|
||||||
"/support/jasmineTest/testFile.js",
|
"/support/jasmineTest/testFile.js",
|
||||||
"/support/jasmineTest/Unix/unixSocketClient.spec.js",
|
"/support/jasmineTest/TCP/tcpSocketClient.spec.js"
|
||||||
|
|
||||||
"/support/jasmineTest/UDP/udpSocketClient.spec.js"
|
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,6 @@ ipc.config.retry = 600;
|
||||||
|
|
||||||
describe('TCP Socket verification of client',
|
describe('TCP Socket verification of client',
|
||||||
function(){
|
function(){
|
||||||
|
|
||||||
it(
|
it(
|
||||||
'Verify retry attempts by TCP client to connect to the server as per the value set in "maxRetries" parameter.',
|
'Verify retry attempts by TCP client to connect to the server as per the value set in "maxRetries" parameter.',
|
||||||
function(done){
|
function(done){
|
||||||
|
@ -53,7 +52,6 @@ describe('TCP Socket verification of client',
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
// Wait time is added to verify the fail case scenario of additional retry attempt by client than expected.
|
|
||||||
setTimeout(
|
setTimeout(
|
||||||
function(){
|
function(){
|
||||||
ipc.disconnect('tcpFakeServer');
|
ipc.disconnect('tcpFakeServer');
|
||||||
|
@ -108,7 +106,6 @@ describe('TCP Socket verification of client',
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
// Wait time is added to verify the fail case scenario of additional retry attempt by client than expected.
|
|
||||||
setTimeout(
|
setTimeout(
|
||||||
function(){
|
function(){
|
||||||
ipc.disconnect('tcpFakeServer');
|
ipc.disconnect('tcpFakeServer');
|
||||||
|
@ -147,7 +144,6 @@ describe('TCP Socket verification of client',
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -177,7 +173,6 @@ describe('TCP Socket verification of client',
|
||||||
{
|
{
|
||||||
id : ipc.config.id,
|
id : ipc.config.id,
|
||||||
message : 'TCP Client Request '+ i
|
message : 'TCP Client Request '+ i
|
||||||
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -205,15 +200,11 @@ describe('TCP Socket verification of client',
|
||||||
ipc.disconnect('tcpServerSync');
|
ipc.disconnect('tcpServerSync');
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue