Commit 225d4d93 authored by Loïck Bonniot's avatar Loïck Bonniot
Browse files

[tests] Fix random fail in integration tests

parent fe817aef
Pipeline #1853 passed with stage
......@@ -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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment