Skip to content

Commit 3ce57b8

Browse files
committed
Try to stop Redis even when tests don't finish.
1 parent e9927cb commit 3ce57b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Rakefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ task :start => BINARY do
3434
abort "could not start redis-server"
3535
end
3636
end
37+
38+
at_exit do
39+
Rake::Task["stop"].invoke
40+
end
3741
end
3842

3943
desc "Stop the Redis server"

0 commit comments

Comments
 (0)