Skip to content

Commit ceaf86e

Browse files
committed
Address WildcardFieldMapperTests failure
1 parent b0ec6c0 commit ceaf86e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/wildcard/src/test/java/org/elasticsearch/xpack/wildcard/mapper/WildcardFieldMapperTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ protected String convertToRandomRegex(String randomValue) {
10181018

10191019
// Assert our randomly generated regex actually matches the provided raw input.
10201020
RegExp regex = new RegExp(result.toString());
1021-
Automaton automaton = regex.toAutomaton();
1021+
Automaton automaton = Operations.determinize(regex.toAutomaton(), Operations.DEFAULT_DETERMINIZE_WORK_LIMIT);
10221022
ByteRunAutomaton bytesMatcher = new ByteRunAutomaton(automaton);
10231023
BytesRef br = new BytesRef(randomValue);
10241024
assertTrue(

0 commit comments

Comments
 (0)