Put locks directories in .kamal so they leave no trace when deleted

This commit is contained in:
Donal McBreen
2024-09-16 12:40:07 +01:00
parent 7f31510aec
commit 6c51e596ae
16 changed files with 37 additions and 51 deletions

View File

@@ -37,7 +37,7 @@ class CliAppTest < CliTestCase
end
test "boot uses group strategy when specified" do
Kamal::Cli::App.any_instance.stubs(:on).with("1.1.1.1").times(3) # ensure locks dir, acquire & release lock
Kamal::Cli::App.any_instance.stubs(:on).with("1.1.1.1").times(2) # ensure locks dir, acquire & release lock
Kamal::Cli::App.any_instance.stubs(:on).with([ "1.1.1.1" ]) # tag container
# Strategy is used when booting the containers