mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
Postgres testing: explicitly configure database ordering to be non-linguistic (#16748)
This makes for reasonable sorting and ordering behaviour that should be the same across platforms.
This commit is contained in:
parent
ff8316320a
commit
86519d526a
@ -800,7 +800,6 @@ abstract class QueryStoreAndAuthDependentIntegrationTest
|
||||
matches = Seq(withBazRecord("c")),
|
||||
doesNotMatch = Seq(withBazRecord("a")),
|
||||
),
|
||||
/* TODO(raphael-speyer-da) Re-enable this test. See https://digitalasset.atlassian.net/browse/LT-15
|
||||
Scenario(
|
||||
"lt string with sketchy value which is a single quote",
|
||||
kbvarId,
|
||||
@ -810,7 +809,6 @@ abstract class QueryStoreAndAuthDependentIntegrationTest
|
||||
matches = Seq(withBazRecord(" ")), // Less than '
|
||||
doesNotMatch = Seq(withBazRecord("A")), // Not less than '
|
||||
),
|
||||
*/
|
||||
Scenario(
|
||||
"lt string with sketchy value which uses unicode quote char",
|
||||
kbvarId,
|
||||
|
@ -144,9 +144,9 @@ trait PostgresAround {
|
||||
"initialize the PostgreSQL database",
|
||||
Tool.initdb,
|
||||
s"--username=$userName",
|
||||
if (isWindows) "--locale=English_United States" else "--locale=en_US.UTF-8",
|
||||
"--locale=C",
|
||||
"-E",
|
||||
"UNICODE",
|
||||
"UTF8",
|
||||
"-A",
|
||||
"trust",
|
||||
dataDir.toString.replace("\\", "/"),
|
||||
|
Loading…
Reference in New Issue
Block a user