Skip to content

Commit

Permalink
fix flakytest when tests.locale=tr (opensearch-project#1827)
Browse files Browse the repository at this point in the history
Signed-off-by: Peng Huo <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
  • Loading branch information
penghuo authored and MitchellGale committed Jul 11, 2023
1 parent 825e9d9 commit 43fbadc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Locale;
import java.util.Map;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
Expand Down Expand Up @@ -58,7 +59,7 @@ public Map<String, String> columnNameTypes() {
Map<String, String> colNameTypes = new LinkedHashMap<>();
schema.getColumns().forEach(column -> colNameTypes.put(
getColumnName(column),
column.getExprType().typeName().toLowerCase()));
column.getExprType().typeName().toLowerCase(Locale.ROOT)));
return colNameTypes;
}

Expand Down

0 comments on commit 43fbadc

Please sign in to comment.