Skip to content

Commit

Permalink
fix flakytest when tests.locale=tr (#1827) (#1839)
Browse files Browse the repository at this point in the history
Signed-off-by: Peng Huo <[email protected]>
(cherry picked from commit 4178c03)

Co-authored-by: Peng Huo <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and penghuo authored Jul 11, 2023
1 parent 2144ddd commit 4fd6402
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 4fd6402

Please sign in to comment.