snarkOS icon indicating copy to clipboard operation
snarkOS copied to clipboard

[Bug] test_block_requests_case_2cX is flaky

Open ljedrz opened this issue 3 years ago • 0 comments

🐛 Bug Report

The following error likes to pop up in the CircleCI tests job from time to time:

running 1 test
test helpers::block_requests::tests::test_block_requests_case_2cbb ... FAILED

failures:

---- helpers::block_requests::tests::test_block_requests_case_2cbb stdout ----
thread 'helpers::block_requests::tests::test_block_requests_case_2cbb' panicked at 'assertion failed: `(left == right)`
  left: `AbortAndDisconnect(TwoCBA, ExceededForkRange)`,
 right: `Proceed(TwoCBB, BlockRequestHandlerProceed { start_block_height: 966, end_block_height: 1215, ledger_is_on_fork: true })`', src/helpers/block_requests.rs:572:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    helpers::block_requests::tests::test_block_requests_case_2cbb

It's likely an off-by one in the test, but I'm not sure.

ljedrz avatar Feb 14 '22 13:02 ljedrz