aboutsummaryrefslogtreecommitdiff
path: root/src/test/recovery/t/017_shm.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/recovery/t/017_shm.pl')
-rw-r--r--src/test/recovery/t/017_shm.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/recovery/t/017_shm.pl b/src/test/recovery/t/017_shm.pl
index 6fe9b97f6e0..f29284b6408 100644
--- a/src/test/recovery/t/017_shm.pl
+++ b/src/test/recovery/t/017_shm.pl
@@ -207,6 +207,9 @@ sub poll_start
# Wait 0.1 second before retrying.
usleep(100_000);
+ # Clean up in case the start attempt just timed out or some such.
+ $node->stop('fast', fail_ok => 1);
+
$attempts++;
}