Skip to content

Commit

Permalink
fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
klizhentas committed Mar 12, 2017
1 parent 6e2b69a commit 9141f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/timeout_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (s *TimeoutSuite) TearDownSuite(c *check.C) {

func (s *TimeoutSuite) TestSlowOperation(c *check.C) {
client := newClient(time.Millisecond * 5)
_, err := client.Get(s.server.URL + "/slow?delay=10ms")
_, err := client.Get(s.server.URL + "/slow?delay=20ms")
// must fail with I/O timeout
c.Assert(err, check.NotNil)
c.Assert(err.Error(), check.Matches, "^.*i/o timeout$")
Expand Down

0 comments on commit 9141f94

Please sign in to comment.