diff options
author | Arnstein Ressem <aressem@gmail.com> | 2021-06-14 10:11:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-14 10:11:13 +0200 |
commit | d2c1583d12bb28df98eb8e62dd6553866c1acc3b (patch) | |
tree | b9067fa40a21a64ead7e249cfe04b59d57dd2da0 /vespa-feed-client/src/test/java | |
parent | 67412c3c00fae41f1ce24b9e47a24c41128475f2 (diff) |
Revert "Jonmv/vespa feed client"
Diffstat (limited to 'vespa-feed-client/src/test/java')
-rw-r--r-- | vespa-feed-client/src/test/java/ai/vespa/feed/client/HttpFeedClientTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-feed-client/src/test/java/ai/vespa/feed/client/HttpFeedClientTest.java b/vespa-feed-client/src/test/java/ai/vespa/feed/client/HttpFeedClientTest.java index d8090549420..0605ed5bf65 100644 --- a/vespa-feed-client/src/test/java/ai/vespa/feed/client/HttpFeedClientTest.java +++ b/vespa-feed-client/src/test/java/ai/vespa/feed/client/HttpFeedClientTest.java @@ -25,7 +25,7 @@ class HttpFeedClientTest { AtomicReference<BiFunction<DocumentId, HttpRequest, CompletableFuture<HttpResponse>>> dispatch = new AtomicReference<>(); class MockRequestStrategy implements RequestStrategy { @Override public OperationStats stats() { throw new UnsupportedOperationException(); } - @Override public FeedClient.CircuitBreaker.State circuitBreakerState() { return FeedClient.CircuitBreaker.State.CLOSED; } + @Override public boolean hasFailed() { return false; } @Override public void destroy() { throw new UnsupportedOperationException(); } @Override public void await() { throw new UnsupportedOperationException(); } @Override public CompletableFuture<HttpResponse> enqueue(DocumentId documentId, HttpRequest request) { return dispatch.get().apply(documentId, request); } |