diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-12-15 13:05:59 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-12-15 13:05:59 +0000 |
commit | 5e8cbd4cb425a606555f50a14affd37685938c44 (patch) | |
tree | 48cc0efbfb8350ef7e91cc58dc824c3088a0bc38 /vespa-feed-client | |
parent | 1e1ebc215480ab75e09f3cd7a016bbdf0831c423 (diff) |
Better naming and simpler code.
Diffstat (limited to 'vespa-feed-client')
-rw-r--r-- | vespa-feed-client/src/test/java/ai/vespa/feed/client/impl/HttpRequestStrategyTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-feed-client/src/test/java/ai/vespa/feed/client/impl/HttpRequestStrategyTest.java b/vespa-feed-client/src/test/java/ai/vespa/feed/client/impl/HttpRequestStrategyTest.java index 18fa7d94117..36e81ff4abb 100644 --- a/vespa-feed-client/src/test/java/ai/vespa/feed/client/impl/HttpRequestStrategyTest.java +++ b/vespa-feed-client/src/test/java/ai/vespa/feed/client/impl/HttpRequestStrategyTest.java @@ -220,7 +220,7 @@ class HttpRequestStrategyTest { if (req == blocking) { phaser.arriveAndAwaitAdvance(); // Synchronise with test main thread, and then ... blocker.arriveAndAwaitAdvance(); // ... block dispatch thread, so we get something in the queue. - throw new RuntimeException("armageddon"); // Dispatch thread should die, tearing down everything. + throw new RuntimeException("never"); // Dispatch thread should die, tearing down everything. } else if (req == partial) { phaser.arriveAndAwaitAdvance(); // Let test thread enqueue more ops before failing (and retrying) this. |