From c5c2cdc7d120ac0acd9463ebbe63094d87e42da5 Mon Sep 17 00:00:00 2001 From: Marcin Czenko Date: Tue, 22 Oct 2024 04:26:55 +0200 Subject: [PATCH] adds <> after forcing integration test to fail preliminarily --- tests/integration/testvalidator.nim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/testvalidator.nim b/tests/integration/testvalidator.nim index 914646c5..b9008f30 100644 --- a/tests/integration/testvalidator.nim +++ b/tests/integration/testvalidator.nim @@ -179,12 +179,14 @@ marketplacesuite "Validation": # if purchase state is not "started", it does not make sense to continue without purchaseState =? client0.getPurchase(purchaseId).?state: fail() + return debug "validation suite", purchaseState = purchaseState echo fmt"{purchaseState = }" if purchaseState != "started": fail() + return discard await ethProvider.send("evm_mine") currentTime = await ethProvider.currentTime() @@ -264,12 +266,14 @@ marketplacesuite "Validation": # if purchase state is not "started", it does not make sense to continue without purchaseState =? client0.getPurchase(purchaseId).?state: fail() + return debug "validation suite", purchaseState = purchaseState echo fmt"{purchaseState = }" if purchaseState != "started": fail() + return # extra block just to make sure we have one that separates us # from the block containing the last (past) SlotFilled event