aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/injection_points/t/001_stats.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/modules/injection_points/t/001_stats.pl')
-rw-r--r--src/test/modules/injection_points/t/001_stats.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/modules/injection_points/t/001_stats.pl b/src/test/modules/injection_points/t/001_stats.pl
index 7d6070e7137..36728f16fc9 100644
--- a/src/test/modules/injection_points/t/001_stats.pl
+++ b/src/test/modules/injection_points/t/001_stats.pl
@@ -69,4 +69,10 @@ $fixedstats = $node->safe_psql('postgres',
"SELECT * FROM injection_points_stats_fixed();");
is($fixedstats, '0|0|0|0|0', 'fixed stats after crash');
+# Stop the server, disable the module, then restart. The server
+# should be able to come up.
+$node->stop;
+$node->adjust_conf('postgresql.conf', 'shared_preload_libraries', "''");
+$node->start;
+
done_testing();