From b4485ece1e4b43670ed3c593ee3ffc046953ab3c Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Tue, 8 Dec 2020 17:00:49 +0100 Subject: [PATCH] Unmute and adjust IndicesClientIT.testDataStreams() test (#65879) Removed assertion that is flaky in CI and not really necessary to test HLRC integration. Relates to #60461 --- .../src/test/java/org/elasticsearch/client/IndicesClientIT.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/rest-high-level/src/test/java/org/elasticsearch/client/IndicesClientIT.java b/client/rest-high-level/src/test/java/org/elasticsearch/client/IndicesClientIT.java index 82172cc27078d..017f6f60cdfb7 100644 --- a/client/rest-high-level/src/test/java/org/elasticsearch/client/IndicesClientIT.java +++ b/client/rest-high-level/src/test/java/org/elasticsearch/client/IndicesClientIT.java @@ -1573,7 +1573,6 @@ public void testDeleteAlias() throws IOException { assertThat(aliasExists(index, alias2), equalTo(true)); } - @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/60461") public void testDataStreams() throws Exception { String dataStreamName = "data-stream"; @@ -1624,7 +1623,6 @@ public void testDataStreams() throws Exception { assertThat(backingIndices, equalTo(1)); ByteSizeValue byteSizeValue = dataStreamsStatsResponse.getTotalStoreSize(); assertThat(byteSizeValue, notNullValue()); - assertThat(byteSizeValue.getBytes(), not(equalTo(0L))); Map dataStreamsStats = dataStreamsStatsResponse.getDataStreams(); assertThat(dataStreamsStats, notNullValue()); assertThat(dataStreamsStats.size(), equalTo(1));