Skip to content

Commit

Permalink
Fix DataStream mutation in test (elastic#108622)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbauman authored May 14, 2024
1 parent 4e24cf9 commit 4be03e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ protected DataStream mutateInstance(DataStream instance) {
if (randomBoolean() || autoShardingEvent == null) {
// If we're mutating the auto sharding event of the failure store, we need to ensure there's at least one failure index.
if (failureIndices.isEmpty()) {
failureIndices = DataStreamTestHelper.randomIndexInstances();
failureIndices = DataStreamTestHelper.randomNonEmptyIndexInstances();
failureStore = true;
}
autoShardingEvent = new DataStreamAutoShardingEvent(
Expand Down

0 comments on commit 4be03e9

Please sign in to comment.