mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-03 07:40:28 +08:00
Improved tests
This commit is contained in:
@@ -71,9 +71,7 @@ func (s *TimeoutSuite) TestSlowOperation(c *check.C) {
|
||||
func (s *TimeoutSuite) TestNormalOperation(c *check.C) {
|
||||
client := newClient(time.Millisecond * 5)
|
||||
resp, err := client.Get(s.server.URL + "/ping")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
c.Assert(err, check.IsNil)
|
||||
c.Assert(bodyText(resp), check.Equals, "pong")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user