From 1466a73e6c11486318e6302823eab2ed4b60154c Mon Sep 17 00:00:00 2001 From: Sachin Kale Date: Wed, 9 Oct 2024 19:06:45 +0530 Subject: [PATCH] Fix flakiness in testTimestampPinUnpin Signed-off-by: Sachin Kale --- .../opensearch/remotestore/RemoteStorePinnedTimestampsIT.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStorePinnedTimestampsIT.java b/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStorePinnedTimestampsIT.java index 486ac69306622..ee51eff4e1bd5 100644 --- a/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStorePinnedTimestampsIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/remotestore/RemoteStorePinnedTimestampsIT.java @@ -76,8 +76,6 @@ public void testTimestampPinUnpin() throws Exception { ); Tuple> pinnedTimestampWithFetchTimestamp = RemoteStorePinnedTimestampService.getPinnedTimestamps(); - long lastFetchTimestamp = pinnedTimestampWithFetchTimestamp.v1(); - assertEquals(-1L, lastFetchTimestamp); assertEquals(Set.of(), pinnedTimestampWithFetchTimestamp.v2()); long timestamp1 = System.currentTimeMillis() + 30000L;