[TEST] Fix logic in one branch of random mutate test
Certain types of datafeeds cannot have null chunking configs, so
setting chunking config to null sometimes doesn't stick as null
Original commit: elastic/x-pack-elasticsearch@9d0270748e2a32525298109f7d057b2e78ccb296
@@ -470,7 +470,7 @@ public class DatafeedConfigTests extends AbstractSerializingTestCase<DatafeedCon
ChunkingConfig newChunkingConfig = ChunkingConfig.newManual(new TimeValue(randomNonNegativeLong()));
builder.setChunkingConfig(newChunkingConfig);
} else {
- builder.setChunkingConfig(null);
+ builder.setChunkingConfig(ChunkingConfig.newAuto());
}
break;
default:
