Skip to content

Commit de5530d

Browse files
committed
ESQL: Fix test locale
Was formatting a string and didn't include `Locale.ROOT` so sometimes the string would use the Arabic ٩ instead of 9. And JSON doesn't parse those. Closes #127562
1 parent 55fb5f3 commit de5530d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node/StoredFieldsSequentialIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public void buildIndex() throws IOException {
184184
bulk.addParameter("refresh", "");
185185
StringBuilder b = new StringBuilder();
186186
for (int i = 0; i < 1000; i++) {
187-
b.append(String.format("""
187+
b.append(String.format(Locale.ROOT, """
188188
{"create":{"_index":"test"}}
189189
{"test":"test%03d", "i": %d}
190190
""", i, i));

0 commit comments

Comments
 (0)