mirror of https://github.com/citusdata/citus.git
Use Posix locale in the tests (#6261)
Commit 9653a0065e
has changed it to C.UTF-8 , which fails on MacOS
pull/6266/head
parent
0855a9d1d4
commit
1df943e0d5
|
@ -52,7 +52,7 @@ def initialize_db_for_cluster(pg_path, rel_data_path, settings, node_names):
|
|||
"--encoding",
|
||||
"UTF8",
|
||||
"--locale",
|
||||
"C.UTF-8",
|
||||
"POSIX"
|
||||
]
|
||||
subprocess.run(command, check=True)
|
||||
add_settings(abs_data_path, settings)
|
||||
|
|
|
@ -704,7 +704,7 @@ if (!$conninfo)
|
|||
# Create new data directories, copy workers for speed
|
||||
# --allow-group-access is used to ensure we set permissions on private keys
|
||||
# correctly
|
||||
system(catfile("$bindir", "initdb"), ("--no-sync", "--allow-group-access", "-U", $user, "--encoding", "UTF8", "--locale", "C.UTF-8", catfile($TMP_CHECKDIR, $MASTERDIR, "data"))) == 0
|
||||
system(catfile("$bindir", "initdb"), ("--no-sync", "--allow-group-access", "-U", $user, "--encoding", "UTF8", "--locale", "POSIX", catfile($TMP_CHECKDIR, $MASTERDIR, "data"))) == 0
|
||||
or die "Could not create $MASTERDIR data directory";
|
||||
|
||||
generate_hba("master");
|
||||
|
|
Loading…
Reference in New Issue