Flaky Smart-Contract Tests — How Do Blockchain QA Engineers Handle It?
I work as a blockchain QA engineer on a DeFi project, and lately our tests have been driving me crazy. They pass locally but fail on CI — and sometimes pass again later. I’ve checked my Solidity code, but the issues often come from the RPC node, gas price changes, or network delay.
Even after adding retries and timeouts, some tests still fail randomly. I want to make our CI runs more predictable without spending hours re-running everything. For those who’ve worked on smart-contract testing, how do you deal with flaky test results caused by the network?