• Matthew Slipper's avatar
    op-e2e: Improve WaitForBlock timeouts (#12627) · 0f9897b0
    Matthew Slipper authored
    Update WaitForBlock to maintain two timeouts: a no-change timeout, which fires if the chain's head does not change within a specified window, and an absolute timeout, which fires if the chain's head does not meet or exceed the specified block.
    
    These changes should ideally reduce the number of test flakes we're seeing. Everything takes longer when test executors are under load; by maintaining these two timeouts we can provide longer-running tests with more buffer while retaining the ability to fail fast if the chain gets stuck.
    
    As part of this PR I also refactored the wait method to use polling rather than WebSockets. I've found WebSockets to be unreliable in tests.
    0f9897b0
Name
Last commit
Last update
..
altda Loading commit data...
bridge Loading commit data...
conductor Loading commit data...
contracts Loading commit data...
da Loading commit data...
e2esys Loading commit data...
fees Loading commit data...
fjord Loading commit data...
gastoken Loading commit data...
helpers Loading commit data...
p2p Loading commit data...
proofs Loading commit data...
runcfg Loading commit data...
verifier Loading commit data...