Skip to content

Commit

Permalink
wait 5 seconds before checking on nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-forbes committed May 3, 2022
1 parent cc682c7 commit 4d5c293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/runner/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func waitForNode(ctx context.Context, node *e2e.Node, height int64) (*rpctypes.R
return nil, err
}

timer := time.NewTimer(0)
timer := time.NewTimer(5 * time.Second)
defer timer.Stop()

var (
Expand Down Expand Up @@ -190,7 +190,7 @@ func waitForNode(ctx context.Context, node *e2e.Node, height int64) (*rpctypes.R
)
}
}
timer.Reset(250 * time.Millisecond)
timer.Reset(350 * time.Millisecond)
}
}
}
Expand Down

0 comments on commit 4d5c293

Please sign in to comment.