less picky about dial error, just expect that it says no such host

This commit is contained in:
Paul Bonser 2015-12-04 13:23:36 -06:00
parent 8fd7c39685
commit 148326d59c

View File

@ -102,7 +102,7 @@ func (s *GoesTestSuite) TestEsDown(c *C) {
} }
_, err := r.Run() _, err := r.Run()
c.Assert(err, ErrorMatches, "Get http://a.b.c.d:1234/i/_search:(.*)lookup a.b.c.d: no such host") c.Assert(err, ErrorMatches, "no such host")
} }
func (s *GoesTestSuite) TestRunMissingIndex(c *C) { func (s *GoesTestSuite) TestRunMissingIndex(c *C) {