Skip to content

F3 Test with chain exchange progresses too fast #936

Open
@masih

Description

@masih

The top level F3 tests us mock clock and advance the EC clock at a high rate. This surfaces a computational bottleneck on CI where the computationally heavy tasks would struggle to keep up on CI runner hardware, resulting in extended time to test completion.

This issue is specifically visible when tests are run with race detector.
To overcome this, the maximum chain length in tests was reduced to 30 (from 100). It seems that additional computation optimisations in Merkle Tree root calculation are still not sufficient to get the tests to pass consistently on CI.

Actionables:

  • Try various EC progress time dilution and timeouts in tests to continue to use long chains but also have the tests pass consistently.
  • Time-box the effort.

Relates to: #935 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions