Skip to content

Commit e32e77c

Browse files
committed
e2e sleep
Signed-off-by: hfuss <hayden.fuss@kaleido.io>
1 parent 24df5bc commit e32e77c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/e2e/multiparty/ethereum_contracts.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import (
2323
"os"
2424
"os/exec"
2525
"testing"
26+
"time"
2627

2728
"github.com/aidarkhanov/nanoid"
2829
"github.com/go-resty/resty/v2"
@@ -231,6 +232,8 @@ func (suite *EthereumContractTestSuite) TestFFIInvokeMethod() {
231232
assert.NoError(suite.T(), err)
232233
assert.NotNil(suite.T(), res)
233234

235+
time.Sleep(1 * time.Second) // Wait for the operation to be processed ?
236+
234237
// Idempotency check
235238
_, err = suite.testState.client1.InvokeContractMethod(suite.T(), invokeContractRequest, 409)
236239
assert.Regexp(suite.T(), "FF10431|FF10458" /* idempotency check could come from FF or blockchain connector, depending on the operation update that is async */, err)

0 commit comments

Comments
 (0)