Skip to content

Commit

Permalink
Stress test gets one more write because of retry
Browse files Browse the repository at this point in the history
Previous behavior was incorrect - at least one client will get through.
  • Loading branch information
smarterclayton committed Mar 19, 2018
1 parent 5237978 commit 2acf88d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/extended/router/stress.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,11 @@ var _ = g.Describe("[Conformance][Area:Networking][Feature:Router]", func() {
case _, ok := <-ch:
writes++
o.Expect(ok).To(o.BeTrue())
o.Expect(i).To(o.BeNumerically("<", 3))
case <-timer.C:
break Wait
}
}
e2e.Logf("Recorded %d writes total", writes)
o.Expect(writes).To(o.BeNumerically("<", 5))
}()
})
})
Expand Down

0 comments on commit 2acf88d

Please sign in to comment.