Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit d8e00bc

Browse files
committed
Add sleeps in integration tests to mitigate integration test flakes
1 parent 84238e2 commit d8e00bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/integration/action/action-integration.spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ describe('Action Integration Tests', function() {
115115

116116
lndProcess1 = await lndProcess1Promise;
117117
lndProcess2 = await lndProcess2Promise;
118+
await nap(NAP_TIME);
118119
};
119120

120121
before(async () => {
@@ -556,6 +557,7 @@ describe('Action Integration Tests', function() {
556557
};
557558

558559
const updateBalances = async () => {
560+
await nap(NAP_TIME);
559561
await wallet1.getBalance();
560562
await wallet1.getChannelBalance();
561563
await wallet2.getBalance();

0 commit comments

Comments
 (0)