Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
osmosis
Commits
9d3404ff
Commit
9d3404ff
authored
2 years ago
by
Adam Tucker
Browse files
Options
Download
Email Patches
Plain Diff
e2e fixes
parent
456a32cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/e2e/e2e_test.go
+8
-2
tests/e2e/e2e_test.go
with
8 additions
and
2 deletions
+8
-2
tests/e2e/e2e_test.go
+
8
-
2
View file @
9d3404ff
...
...
@@ -405,8 +405,14 @@ func (s *IntegrationTestSuite) TestStateSync() {
// ensure that the state synching node cathes up to the running node.
s
.
Require
()
.
Eventually
(
func
()
bool
{
stateSyncNodeHeight
,
_
:=
stateSynchingNode
.
QueryCurrentHeight
()
runningNodeHeight
,
_
:=
runningNode
.
QueryCurrentHeight
()
stateSyncNodeHeight
,
err
:=
stateSynchingNode
.
QueryCurrentHeight
()
if
err
!=
nil
{
return
false
}
runningNodeHeight
,
err
:=
runningNode
.
QueryCurrentHeight
()
if
err
!=
nil
{
return
false
}
return
stateSyncNodeHeight
==
runningNodeHeight
},
3
*
time
.
Minute
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets