Skip to content

Commit 75b6666

Browse files
committed
Fix test
1 parent 7ba3698 commit 75b6666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/core/src/internalClusterTest/java/org/elasticsearch/xpack/core/action/DataStreamUsageTransportActionIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public void testAction() throws Exception {
182182
if (lifecycle == null
183183
&& (enabledBySetting || Boolean.TRUE.equals(failureStoreEnabled) || failureIndices.isEmpty() == false)) {
184184
effectivelyEnabledFailuresLifecycleCount.incrementAndGet();
185-
if (systemDataStream == false) {
185+
if (systemDataStream == false && useDefaultRetention) {
186186
failuresLifecycleWithDefaultRetention.incrementAndGet();
187187
}
188188
}

0 commit comments

Comments
 (0)