Open lhotari opened 1 month ago
@Technoboy- @mattisonchao Any ideas for fixing this?
There is a race condition in this test CurrentLedgerRolloverIfFullTest#testCurrentLedgerRolloverIfFull Please find attached screenshot. As you can see there is maxEntriesPerLedger=2 and than 10 messages are sent. That would mean we have 5 ledgers each with 2 messages. Then a new ledger is being created to accept next upcoming messages but in many cases it does not happen until assertion is done which compares ledgers to 5 see commented out code. I believe it should wait for this new ledger and than compare the correct number of 6 ledgers
Search before asking
Example failures
Exception stacktrace
Are you willing to submit a PR?