Skip to content

Commit ee1316c

Browse files
committed
Add comment on function with config dserialization randomization
1 parent b088abf commit ee1316c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/scalar/AbstractConfigurationFunctionTestCase.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public void testSerializationWithConfiguration() {
3636

3737
Configuration differentConfig = randomValueOtherThan(
3838
config,
39+
// The source must match the original (static) one, as function source serialization depends on it
3940
() -> randomConfiguration(testCase.getSource().text(), randomTables())
4041
);
4142

0 commit comments

Comments
 (0)