diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-04-01 15:59:10 +0200 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-04-01 15:59:10 +0200 |
commit | df755138e47d1ded561800978875e59094c4b1b4 (patch) | |
tree | b6f6f7bc0259a15b5f11902e2d58c8c994e5a17e /vespaclient-java/src/test/java/com/yahoo/vespaget | |
parent | 14bb8f3c745f9b153e289ff62b38c911966ea32b (diff) |
Deprecate DocumentAPI methods using explicit operation priority
This is functionality that made more sense when we had spinning drives
and no async write scheduling in the backend. Going away on Vespa 8.
Diffstat (limited to 'vespaclient-java/src/test/java/com/yahoo/vespaget')
-rw-r--r-- | vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java b/vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java index 098319f24dc..8d7483c2196 100644 --- a/vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java +++ b/vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java @@ -134,6 +134,7 @@ public class DocumentRetrieverTest { } @Test + @SuppressWarnings("removal") // TODO: Remove on Vespa 8 public void testSendSingleMessage() throws DocumentRetrieverException { ClientParameters params = createParameters() .setDocumentIds(asIterator(DOC_ID_1)) @@ -156,7 +157,7 @@ public class DocumentRetrieverTest { verify(mockedSession, times(1)).syncSend(argThat((ArgumentMatcher<GetDocumentMessage>) o -> o.getPriority().equals(DocumentProtocol.Priority.HIGH_1) && !o.getRetryEnabled() && - o.getLoadType().equals(new LoadType(1, "loadtype", DocumentProtocol.Priority.HIGH_1)))); + o.getLoadType().equals(new LoadType(1, "loadtype", DocumentProtocol.Priority.HIGH_1)))); // TODO: Remove on Vespa 8 assertContainsDocument(DOC_ID_1); } |