Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 837e784

Browse files
committed
update reinit-mm to new config format
1 parent eba0071 commit 837e784

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

tests/regress.sql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
--create extension multimaster;
2+
ALTER DATABASE "postgres" SET lc_messages TO 'C';
3+
ALTER DATABASE "postgres" SET lc_monetary TO 'C';
4+
ALTER DATABASE "postgres" SET lc_numeric TO 'C';
5+
ALTER DATABASE "postgres" SET lc_time TO 'C';
6+
ALTER DATABASE "postgres" SET timezone_abbreviations TO 'Default';

tests/reinit-mm.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
n_nodes=3
2-
export PATH=~/code/postgres_cluster/install/bin/:$PATH
2+
export PATH=~/code/postgres_cluster/tmp_install/bin/:$PATH
33
ulimit -c unlimited
44
pkill -9 postgres
55
pkill -9 arbiter
@@ -19,7 +19,7 @@ do
1919
port=$((5431 + i))
2020
raft_port=$((6665 + i))
2121
arbiter_port=$((7000 + i))
22-
conn_str="$conn_str${sep}dbname=regression user=stas host=127.0.0.1 port=$port arbiterport=$arbiter_port sslmode=disable"
22+
conn_str="$conn_str${sep}dbname=regression user=stas host=127.0.0.1 port=$port arbiter_port=$arbiter_port sslmode=disable"
2323
raft_conn_str="$raft_conn_str${sep}${i}:localhost:$raft_port"
2424
sep=","
2525
initdb node$i
@@ -46,7 +46,7 @@ do
4646
max_worker_processes = 15
4747
max_replication_slots = 10
4848
max_wal_senders = 10
49-
shared_preload_libraries = 'raftable,multimaster'
49+
shared_preload_libraries = 'multimaster'
5050
default_transaction_isolation = 'repeatable read'
5151
5252
multimaster.workers = 1
@@ -71,6 +71,6 @@ SQL
7171
done
7272

7373
sleep 10
74-
psql regression < ../../../regress.sql
74+
psql regression < regress.sql
7575

7676
echo Done

0 commit comments

Comments
 (0)