You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our E2E tests frequently encounter race conditions due to shared usage of predicates across multiple test suites.
Since Predicates have unique addresses and are reused in various tests, this setup leads to concurrent test cases interfering with each other's transaction requests.
When two test cases run concurrently and interact with the same predicate, they attempt to fetch and use the same UTXO(s) for their transactions. This results in a race condition where:
Both test cases successfully fetch the UTXO(s) and add them to the TransactionRequest.
The first test submits the TX and finishes its execution, marking the UTXO(s) spent.
The subsequent test case attempts to submit its transaction using the same now-spent UTXO(s), leading to a failure.
Our E2E tests frequently encounter race conditions due to shared usage of predicates across multiple test suites.
Since Predicates have unique addresses and are reused in various tests, this setup leads to concurrent test cases interfering with each other's transaction requests.
When two test cases run concurrently and interact with the same predicate, they attempt to fetch and use the same UTXO(s) for their transactions. This results in a race condition where:
Both test cases successfully fetch the UTXO(s) and add them to the
TransactionRequest
.The first test submits the TX and finishes its execution, marking the UTXO(s) spent.
The subsequent test case attempts to submit its transaction using the same now-spent UTXO(s), leading to a failure.
https://github.com/FuelLabs/fuels-ts/actions/runs/8713044366/job/23920586805#step:10:510
The text was updated successfully, but these errors were encountered: