diff --git a/spec/helpers.rb b/spec/helpers.rb index a34921404..c74c93464 100644 --- a/spec/helpers.rb +++ b/spec/helpers.rb @@ -346,7 +346,7 @@ def connect def teardown trace "Tearing down test database for #{@name}" - log_and_run @logfile, pg_bin_path('pg_ctl'), '-D', @test_pgdata.to_s, 'stop' + log_and_run @logfile, pg_bin_path('pg_ctl'), '-D', @test_pgdata.to_s, '-m', 'fast', 'stop' end def pg_bin_path(cmd)