Skip to content

Commit f8ac982

Browse files
committed
fix local test runner
1 parent 1a3330c commit f8ac982

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

tests/reinit-mm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ do
5353
multimaster.use_raftable = false
5454
multimaster.queue_size=52857600
5555
multimaster.ignore_tables_without_pk = 1
56-
multimaster.heartbeat_recv_timeout = 1000
56+
multimaster.heartbeat_recv_timeout = 2000
5757
multimaster.heartbeat_send_timeout = 250
58-
multimaster.twopc_min_timeout = 400000
59-
multimaster.min_2pc_timeout = 400000
58+
multimaster.twopc_min_timeout = 40000000
59+
multimaster.min_2pc_timeout = 40000000
6060
multimaster.volkswagen_mode = 1
6161
6262
multimaster.conn_strings = '$conn_str'

tests2/docker-entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ if [ "$1" = 'postgres' ]; then
7171
multimaster.conn_strings = '$CONNSTRS'
7272
multimaster.heartbeat_recv_timeout = 1100
7373
multimaster.heartbeat_send_timeout = 250
74-
multimaster.twopc_min_timeout = 200000
74+
multimaster.twopc_min_timeout = 20000
75+
multimaster.min_2pc_timeout = 10000
7576
EOF
7677

7778
cat $PGDATA/postgresql.conf

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy