-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revive race detection flag and race conditions fixes in the test exec…
…ution (#1963) * Provide race and shuffle flags when running unit tests (#1925) * Provide race and shuffle flags * Fix race condition in TestBlockchain_VerifyBlockParent test * Fix race conditions in Test_TxPool_validateTx * Capture loop variable * Fix TestAddTxsInOrder * Linter fixes * Fix TestBlockchain_VerifyBlockBody race conditions * Fix Test_VerifySignature_NegativeCases * Fix TestDropKnownGossipTx * Retrieve tx hash in a thread safe manner * Fix TestStatusPubSub race condition * Fix peers_test * Fix Test_newTracer * Provide race flag when building binary and running fuzz tests * Fix data races in fund and deposit_erc20 commands * Fix TestEventSubscription_ProcessedEvents * Fix TestSimpleGossip (hopefully) * Fix data race in e2e tests (txRelayer.SendTransactionLocal) * Avoid race conditions in ibft/signer package * Increase timeout in TestEventSubscription_ProcessedEvents * Fix TestResetAccounts_Enqueued flakiness * Remove race flags from e2e and property tests * Update command/bridge/deposit/erc20/deposit_erc20.go Co-authored-by: Victor Castell <victor@polygon.technology> * Fix transaction.Copy function --------- Co-authored-by: Victor Castell <victor@polygon.technology> * Remove race detection flag when building a binary * Minor simplification * Remove lock from transaction object * Remove parallel execution of event tracker store tests * Remove local var when calculating tx hash * Remove unneded code * Remove lengthWithLock function from queue account * Remove parallel execution of TestEventTracker_TrackSyncEvents --------- Co-authored-by: Victor Castell <victor@polygon.technology>
- Loading branch information
1 parent
4dacf15
commit 6f263f8
Showing
22 changed files
with
177 additions
and
137 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
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.