Fixed assertion in TestEsDown
This commit is contained in:
		
							parent
							
								
									6168c11f4a
								
							
						
					
					
						commit
						3b548af2c3
					
				| @ -84,7 +84,7 @@ func (s *GoesTestSuite) TestEsDown(c *C) { | |||||||
| 	} | 	} | ||||||
| 	_, err := r.Run() | 	_, err := r.Run() | ||||||
| 
 | 
 | ||||||
| 	c.Assert(err.Error(), Equals, "Get http://a.b.c.d:1234/i/_search: lookup a.b.c.d: no such host") | 	c.Assert(err, ErrorMatches, "Get http://a.b.c.d:1234/i/_search:(.*)lookup a.b.c.d: no such host") | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func (s *GoesTestSuite) TestRunMissingIndex(c *C) { | func (s *GoesTestSuite) TestRunMissingIndex(c *C) { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user