Skip to content

Commit

Permalink
GH-2069 Add verification that lib advances
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jan 16, 2024
1 parent cbb6b28 commit 8221902
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/nodeos_run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,10 @@
assert(node.setCodeOrAbi(setCodeAbiAccount, "code", wasmFile))
assert(node.setCodeOrAbi(setCodeAbiAccount, "abi", abiFile))

# verify lib advances
if not cluster.getNode(0).waitForLibToAdvance():
errorExit("LIB not advancing")

testSuccessful=True
finally:
TestHelper.shutdown(cluster, walletMgr, testSuccessful, dumpErrorDetails)
Expand Down

0 comments on commit 8221902

Please sign in to comment.