Commit 71983e8b authored by Gari Singh's avatar Gari Singh Committed by Gerrit Code Review
Browse files

Merge "[FAB-10221] Use EventuallyWithOffset in execute"

parents 3f2dda7e 93872473
......@@ -85,6 +85,6 @@ func (c *Components) Zookeeper(id int, network *docker.Network) *runner.Zookeepe
func execute(r ifrit.Runner) {
p := ifrit.Invoke(r)
Eventually(p.Ready(), 2*time.Second).Should(BeClosed())
Eventually(p.Wait(), 45*time.Second).Should(Receive(BeNil()))
EventuallyWithOffset(1, p.Ready(), 2*time.Second).Should(BeClosed())
EventuallyWithOffset(1, p.Wait(), 45*time.Second).Should(Receive(BeNil()))
}
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