Skip to content

Commit 68422b2

Browse files
author
Monorail CI check running in Buildkite
committed
ugh
1 parent 114157d commit 68422b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/models/shipit/stack_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ def try_lock
764764
LockProviders::Config.configure { |c| c.provider = LockedProvider.new(@stack) }
765765
assert @stack.locked?
766766
assert_equal "test lock", @stack.lock_reason
767+
ensure
768+
LockProviders::Config.configure { |c| c.provider = LockProvides::NullProvider.new }
767769
end
768770

769771
test "#lock sets reason and user" do

0 commit comments

Comments
 (0)