Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpcs
dfss
Commits
225d4d93
Commit
225d4d93
authored
May 20, 2016
by
Loïck Bonniot
Browse files
[tests] Fix random fail in integration tests
parent
fe817aef
Pipeline
#1853
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/new_test.go
View file @
225d4d93
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment