From 225d4d93073aca0299784b6fdaa7d14fbb53d67e Mon Sep 17 00:00:00 2001 From: Lesterpig Date: Fri, 20 May 2016 13:22:37 +0200 Subject: [PATCH] [tests] Fix random fail in integration tests --- tests/new_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/new_test.go b/tests/new_test.go index 14530f1..7a32b5e 100644 --- a/tests/new_test.go +++ b/tests/new_test.go @@ -75,6 +75,7 @@ func TestNewContract(t *testing.T) { assert.Equal(t, nil, err) // Check database² + time.Sleep(time.Second) // Allowed delay to let some time to propagate the contract readiness contract = getContract("contract.txt", 0) assert.Equal(t, true, contract.Ready) assert.True(t, len(contract.Signers[0].Hash) > 0) -- GitLab