Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

flakiness fix for forked chain test #10356

Merged
merged 1 commit into from
May 13, 2021
Merged

flakiness fix for forked chain test #10356

merged 1 commit into from
May 13, 2021

Conversation

dimas1185
Copy link
Contributor

Change Description

Fixes flakiness in nodeos_forked_chain_lr_test
Flakiness as caused by waitForBlock timeout that was default (60 seconds).
Sometimes it requires longer timeout because of producer schedule for 10 producers is 10 * (12 * 0.5) = 60.
So when wait starts simultaneously with wait for next producer schedule test fails because of error getting next block.

Change Type

Select ONE:

  • Documentation
  • Stability bug fix
  • Other
  • Other - special case

Testing Changes

Select ANY that apply:

  • New Tests
  • Existing Tests
  • Test Framework
  • CI System
  • Other

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@@ -417,19 +423,23 @@ def getBlock(self, blockNum):
if not prodChanged:
if preKillBlockProducer!=blockProducer0:
prodChanged=True
Print("prodChanged = True")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we keeping these print statements for diagnosing more failures over time?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. it is hard to understand what is happening without those

@dimas1185 dimas1185 merged commit 8e892e0 into develop May 13, 2021
@dimas1185 dimas1185 deleted the fork-chain-test-fix branch May 13, 2021 17:27
@heifner
Copy link
Contributor

heifner commented May 13, 2021

Didn't fix the problem. https://buildkite.com/EOSIO/eosio-lrt/builds/4329

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants