summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2019-03-22 22:33:31 +0000
committerPeter Eisentraut2019-03-22 22:33:31 +0000
commit87914e708aabb7e2cd9045fa95b4fed99ca458ec (patch)
treea768e4f32e078cf9a698e5979d99d4df8368fa64
parent4e274a043fc8310ce1148190ef674beca06e990c (diff)
Make subscription collation test work independent of locale
We need to set the database to UTF8 encoding so that the test can use Unicode escapes.
-rw-r--r--src/test/subscription/t/012_collation.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/subscription/t/012_collation.pl b/src/test/subscription/t/012_collation.pl
index 6c480de9c1..9f79e96106 100644
--- a/src/test/subscription/t/012_collation.pl
+++ b/src/test/subscription/t/012_collation.pl
@@ -16,11 +16,11 @@ else
}
my $node_publisher = get_new_node('publisher');
-$node_publisher->init(allows_streaming => 'logical');
+$node_publisher->init(allows_streaming => 'logical', extra => [ '--locale=C', '--encoding=UTF8' ]);
$node_publisher->start;
my $node_subscriber = get_new_node('subscriber');
-$node_subscriber->init(allows_streaming => 'logical');
+$node_subscriber->init(allows_streaming => 'logical', extra => [ '--locale=C', '--encoding=UTF8' ]);
$node_subscriber->start;
my $publisher_connstr = $node_publisher->connstr . ' dbname=postgres';