Skip to content

Commit

Permalink
fix cross-chain-hub spec for unstable issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Oct 13, 2024
1 parent c1dab45 commit 53b4d38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/bruno/e2e/cross-chain-hub/18-node1-list-ln-channel.bru
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ assert {
res.body.channels: length 0
}

script:pre-request {
// Sleep for sometime to make sure current operation finishes before next request starts.
await new Promise(r => setTimeout(r, 1000));
}

script:post-response {
console.log("list channel result: ", res.body);
}

0 comments on commit 53b4d38

Please sign in to comment.