Skip to content

Commit

Permalink
Remove 2 sec pause in E2E test
Browse files Browse the repository at this point in the history
FAB-2031
The 2s pause was needed because of the problem in FAB-1862. Now
that it's been fixed, we need to remove the artificial pause.

Change-Id: Ie9e81c367b2caf6d467ea0a74ace1e1576d8efc8
Signed-off-by: Jim Zhang <jzhang@us.ibm.com>
  • Loading branch information
jimthematrix committed Feb 3, 2017
1 parent 8052c72 commit a7318bb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/unit/end-to-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,7 @@ test('End-to-end flow of chaincode deploy, transaction invocation, and query', f
clearTimeout(handle);

if (!useSteps) {
// this is called without steps parameter in order to execute all steps
// in sequence, just continue
setTimeout(resolve, 2000);
resolve();
} else if (steps.length === 1 && steps[0] === 'step1') {
t.end();
resolve();
Expand Down Expand Up @@ -281,9 +279,7 @@ test('End-to-end flow of chaincode deploy, transaction invocation, and query', f
clearTimeout(handle);

if (!useSteps) {
// this is called without steps parameter in order to execute all steps
// in sequence, just continue
setTimeout(resolve, 2000);
resolve();
} else if (steps.length === 1 && steps[0] === 'step2') {
t.end();
resolve();
Expand Down

0 comments on commit a7318bb

Please sign in to comment.