-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: ✅ Fix race conditions in integration tests (#299)
* test: ✅ Fix race condition in `skipTo` waiting for proofs * test: 🧑💻 Improve error log in `waitForTxInPool` * fix: 🐛 Remove `break` from `for` loop counting pending proof submissions * test: ✅ Fix race condition of many payment streams charged events in last block * fix: ✅ Use correct event variable in test for expected value * fix: ✅ Change `sleep`s for waiting and polling functions avoiding race conditions * fix: ✅ Fix `waitForTxInPool` * style: 🎨 Apply TS formatting * fix: ✅ Increase timeout to 10s in `waitForBspStoredWithoutSealing` and `waitForMspResponseWithoutSealing` * fix: ✅ Increase default timeout in `waitForTxInPool` * fix: ✅ Clarity logic for waiting for proofs in `skipTo` * fix: 🩹 Remove `only: true` from test * test: ✅ Simplify `bsp-thresholds` test to avoid race conditions * revert: ⏪ Rollback runtime change to speed up CI * fix: ✅ Change name of parameter `watchForBspProofs` in `skipTo` to match `advanceToBlock`, making it pass down the parameter * fix: ✅ Fix submit-proofs tests race conditions * revert: ⏪ Rollback `only: true` flag * fix: ✅ Fix race condition of sending transaction with BSP key when there's another in the pool * fix: ✅ Replace `sleep` for `mspApi.wait.fileStorageComplete` * fix: ✅ Wait for new signed up BSP to catch up to chain tip
- Loading branch information
Showing
14 changed files
with
253 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.