diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-04-05 17:45:17 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-04-05 17:45:17 +0200 |
commit | 6f0d85128e0f1ba5d1958b425c29140eb005d806 (patch) | |
tree | 8fa1cba2f512ce053148899e8a03cd654d532a85 /container-search | |
parent | 99098cdb882fa9707b84e862dd6421c919bc6637 (diff) |
Make test independent of node reporting error.
Diffstat (limited to 'container-search')
-rw-r--r-- | container-search/src/test/java/com/yahoo/prelude/fastsearch/test/FastSearcherTestCase.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/container-search/src/test/java/com/yahoo/prelude/fastsearch/test/FastSearcherTestCase.java b/container-search/src/test/java/com/yahoo/prelude/fastsearch/test/FastSearcherTestCase.java index 497f05e8341..04b1d526c67 100644 --- a/container-search/src/test/java/com/yahoo/prelude/fastsearch/test/FastSearcherTestCase.java +++ b/container-search/src/test/java/com/yahoo/prelude/fastsearch/test/FastSearcherTestCase.java @@ -145,7 +145,8 @@ public class FastSearcherTestCase { doFill(fastSearcher, result); ErrorMessage error = result.hits().getError(); assertEquals("Since we don't actually run summary backends we get this error when the Dispatcher is used", - "Error response from rpc node connection to host1:0: Connection error", error.getDetailedMessage()); + "Error response from rpc node connection to hostX:0: Connection error", + error.getDetailedMessage().replaceAll("host[12]", "hostX")); } { // direct.summaries due to no summary features |