summaryrefslogtreecommitdiff
path: root/src/test/recovery/t/013_crash_restart.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/recovery/t/013_crash_restart.pl')
-rw-r--r--src/test/recovery/t/013_crash_restart.pl11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/test/recovery/t/013_crash_restart.pl b/src/test/recovery/t/013_crash_restart.pl
index 783c936393..d8ef22f522 100644
--- a/src/test/recovery/t/013_crash_restart.pl
+++ b/src/test/recovery/t/013_crash_restart.pl
@@ -111,7 +111,7 @@ SELECT 1;
ok( pump_until(
$killme,
\$killme_stderr,
-qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly/m
+ qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly/m
),
"psql query died successfully after SIGQUIT");
$killme_stderr = '';
@@ -124,7 +124,7 @@ $killme->finish;
ok( pump_until(
$monitor,
\$monitor_stderr,
-qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly/m
+ qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly/m
),
"psql monitor died successfully after SIGQUIT");
$monitor->finish;
@@ -204,7 +204,7 @@ $killme->finish;
ok( pump_until(
$monitor,
\$monitor_stderr,
-qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly/m
+ qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly/m
),
"psql monitor died successfully after SIGKILL");
$monitor->finish;
@@ -220,7 +220,8 @@ is( $node->safe_psql('postgres', 'SELECT * FROM alive'),
is( $node->safe_psql(
'postgres',
-'INSERT INTO alive VALUES($$before-orderly-restart$$) RETURNING status'),
+ 'INSERT INTO alive VALUES($$before-orderly-restart$$) RETURNING status'
+ ),
'before-orderly-restart',
'can still write after crash restart');
@@ -228,7 +229,7 @@ is( $node->safe_psql(
$node->restart();
is( $node->safe_psql('postgres', 'SELECT * FROM alive'),
-"committed-before-sigquit\ncommitted-before-sigkill\nbefore-orderly-restart",
+ "committed-before-sigquit\ncommitted-before-sigkill\nbefore-orderly-restart",
'data survived');
is( $node->safe_psql(