diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-04-05 17:46:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-05 17:46:40 +0200 |
commit | aa831f6fcbc0e8ab39a9cdaa4d0bb6f899535aea (patch) | |
tree | 8fa1cba2f512ce053148899e8a03cd654d532a85 | |
parent | 99098cdb882fa9707b84e862dd6421c919bc6637 (diff) | |
parent | 6f0d85128e0f1ba5d1958b425c29140eb005d806 (diff) |
Merge pull request #9038 from vespa-engine/balder/stabilize-dispatch-dot-summaries-test
Make test independent of node reporting error.
-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 |