AntelopeIO / spring

C++ implementation of the Antelope protocol with Savanna consensus
Other
5 stars 2 forks source link

Test Failure: nodeos_chainbase_allocation_if_test #246

Closed linh2931 closed 3 months ago

linh2931 commented 3 months ago

nodeos_chainbase_allocation_if_test

heifner commented 3 months ago

Since LIB moves so quickly in savanna this test is now a bit flaky.

The test creates two snapshots and verifies they are the same. It attempts to generate the snapshot on the same block, but it failed because one snapshot was generated on block 122 and the other on block 123.

I think a simple sleep(1) before the first snapshot to make sure it has all the blocks is all that is needed.

heifner commented 3 months ago

https://github.com/AntelopeIO/spring/actions/runs/9408382330/job/25916647179