Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.0] Test: Fix liveness_test.py integration test flakiness #661

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions tests/liveness_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@
cluster.setWalletMgr(walletMgr)
Print("Stand up cluster")

# *** setup topogrophy ***
# "mesh" shape connects nodeA and nodeA to each other
# test relies on production continuing
extraNodeosArgs=" --production-pause-vote-timeout-ms 0 "
# "mesh" shape connects nodeA and nodeB to each other
if cluster.launch(topo="mesh", pnodes=totalProducerNodes,
totalNodes=totalNodes, totalProducers=totalProducerNodes, loadSystemContract=False,
activateIF=activateIF, biosFinalizer=False) is False:
Expand Down Expand Up @@ -73,7 +74,7 @@

# relaunch node A so that quorum can be met
Print("Relaunching node A to make quorum")
if not prodA.relaunch():
if not prodA.relaunch(chainArg="--enable-stale-production"):
errorExit(f"Failure - node A should have restarted")

# verify LIB advances on both nodes
Expand Down