Commit 9d3404ff authored by Adam Tucker's avatar Adam Tucker
Browse files

e2e fixes

parent 456a32cb
Showing with 8 additions and 2 deletions
+8 -2
......@@ -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,
......
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