frequency icon indicating copy to clipboard operation
frequency copied to clipboard

[Bug]: Flaky test

Open aramikm opened this issue 9 months ago • 0 comments

What happened?

The following test fails once in a while with following error.

offchain_worker_should_populate_accounts_with_offchain_indexed_events

Notes

To produce you can move the body of test inside a loop

Relevant log output

---- tests::offchain_tests::offchain_worker_should_populate_accounts_with_offchain_indexed_events stdout ----
thread 'tests::offchain_tests::offchain_worker_should_populate_accounts_with_offchain_indexed_events' panicked at pallets/msa/src/tests/offchain_tests.rs:186:17:
assertion failed: `(left == right)`:  iteration = 25

Diff < left / right > :
 Ok(
<    Some(
<        [
<            3802c32c285019bccad0c6ad8baea00e18683196839f62f1844b1cdfbe03c90c (5DL9MnxY...),
<        ],
<    ),
>    None,
 )

aramikm avatar May 06 '25 00:05 aramikm