fix: flaky integration tests

This commit is contained in:
Ludovic Fernandez
2020-10-09 09:32:03 +02:00
committed by GitHub
parent d2435cf43b
commit 5c853766e8
34 changed files with 160 additions and 150 deletions

View File

@@ -48,7 +48,7 @@ func (s *TLSClientHeadersSuite) TestTLSClientHeaders(c *check.C) {
defer display(c)
err = cmd.Start()
c.Assert(err, checker.IsNil)
defer cmd.Process.Kill()
defer s.killCmd(cmd)
err = try.GetRequest("http://127.0.0.1:8080/api/rawdata", 2*time.Second, try.BodyContains("PathPrefix(`/`)"))
c.Assert(err, checker.IsNil)