Skip to content

Commit 683aa75

Browse files
committed
test: make the test using twopc transactions run semi-sync
Signed-off-by: Manan Gupta <manan@planetscale.com>
1 parent 270d2a1 commit 683aa75

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

go/test/endtoend/transaction/tx_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ func TestMain(m *testing.M) {
6969

7070
// Start keyspace
7171
keyspace := &cluster.Keyspace{
72-
Name: keyspaceName,
73-
SchemaSQL: SchemaSQL,
74-
VSchema: VSchema,
72+
Name: keyspaceName,
73+
SchemaSQL: SchemaSQL,
74+
VSchema: VSchema,
75+
DurabilityPolicy: "semi_sync",
7576
}
7677
if err := clusterInstance.StartKeyspace(*keyspace, []string{"-80", "80-"}, 1, false); err != nil {
7778
return 1, err

0 commit comments

Comments
 (0)