8000 Sleep after killing server in replication test · percona/postgres@557f355 · GitHub
[go: up one dir, main page]

Skip to content

Commit 557f355

Browse files
committed
Sleep after killing server in replication test
This test often failed in CI, and I believe the cause is that we tried to start the cluster again before it had been fully killed.
1 parent 2d944d5 commit 557f355

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/pg_tde/t/012_replication.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
PGTDE::psql($primary, 'postgres',
7676
"ALTER SYSTEM SET pg_tde.wal_encrypt = 'on';");
7777
$primary->kill9;
78+
sleep 1; # Make sure we don't try to start the server again before it's been properly killed.
7879

7980
PGTDE::append_to_result_file("-- primary start");
8081
$primary->start;

0 commit comments

Comments
 (0)
0