From bc0475128499627f976493b15d318ad390565533 Mon Sep 17 00:00:00 2001 From: Sally MacFarlane Date: Sat, 13 Apr 2024 00:24:16 +1000 Subject: [PATCH] Fix Flaky test permv2 (#6936) * verify Signed-off-by: Sally MacFarlane --------- Signed-off-by: Sally MacFarlane --- .../NodeSmartContractPermissioningV2AcceptanceTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/permissioning/NodeSmartContractPermissioningV2AcceptanceTest.java b/acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/permissioning/NodeSmartContractPermissioningV2AcceptanceTest.java index 396b2b4c73c..4e2cb9a8778 100644 --- a/acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/permissioning/NodeSmartContractPermissioningV2AcceptanceTest.java +++ b/acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/permissioning/NodeSmartContractPermissioningV2AcceptanceTest.java @@ -116,6 +116,8 @@ public void onchainPermissioningAllowlistShouldPersistAcrossRestarts() { permissionedCluster.stop(); permissionedCluster.start(bootnode, forbiddenNode, allowedNode, permissionedNode); + verifyAllNodesAreInSyncWithMiner(); + permissionedNode.verify(connectionIsAllowed(allowedNode)); permissionedNode.verify(connectionIsAllowed(bootnode)); permissionedNode.verify(connectionIsAllowed(permissionedNode));