From 148326d59cda6fdde0942b8b19d036a2b142d875 Mon Sep 17 00:00:00 2001 From: Paul Bonser Date: Fri, 4 Dec 2015 13:23:36 -0600 Subject: [PATCH] less picky about dial error, just expect that it says no such host --- goes_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goes_test.go b/goes_test.go index fab8df7..09a9918 100644 --- a/goes_test.go +++ b/goes_test.go @@ -102,7 +102,7 @@ func (s *GoesTestSuite) TestEsDown(c *C) { } _, 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) {