Skip to content

Commit

Permalink
Fix test for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jbdoumenjou committed Jul 1, 2020
1 parent 0ab8a10 commit 832a659
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions integration/simple_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,8 @@ func (s *SimpleSuite) TestCustomPingTerminationStatusCode(c *check.C) {
c.Assert(err, checker.IsNil)

// ping endpoint should now return a Service Unavailable.
resp, err := http.Get("http://127.0.0.1:8001/ping")
err = try.GetRequest("http://127.0.0.1:8001/ping", 2*time.Second, try.StatusCodeIs(http.StatusNoContent))
c.Assert(err, checker.IsNil)
defer resp.Body.Close()
c.Assert(resp.StatusCode, checker.Equals, http.StatusNoContent)
}

func (s *SimpleSuite) TestStatsWithMultipleEntryPoint(c *check.C) {
Expand Down

0 comments on commit 832a659

Please sign in to comment.