-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1127] YSQL: Fix collation test failure on Mac
Summary: Yifan found that TestPgRegressTypesString is failing on Mac platform because of the newly added yb_pg_collate_icu_utf8.sql test. In particular, the test uses "en_US.utf8" collation which has a different name on Mac machine: "en_US.UTF-8". Because the collation name "en_US.utf8" does not exist on Mac machine, the test did not execute as expected. I changed the test to use ICU collation "en-US-x-icu" which exists as an identical name on both linux and Mac platforms. In addition, the test yb_pg_collate_icu_utf8.sql should use ICU collation and "en_US.utf8" is not an ICU collation. Test Plan: Run the following test on both Centos and Mac: ./yb_build.sh debug --java-test 'org.yb.pgsql.TestPgRegressTypesString' Reviewers: yguan Reviewed By: yguan Subscribers: mihnea, yql Differential Revision: https://phabricator.dev.yugabyte.com/D13800
- Loading branch information
Showing
2 changed files
with
43 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters