Skip to content

Commit

Permalink
Update deploys_test.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
kartiki975 committed Mar 19, 2024
1 parent 9c1375c commit b2374bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/models/deploys_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ def generate_commits(amount:, stack_id:, user_id:, validate:)

assert_difference -> { ReleaseStatus.count }, +1 do
assert_equal 'unknown', @commit.last_release_status.state
@deploy = @stack.trigger_deploy(@commit, AnonymousUser.new, force: true)
@deploy = @stack.trigger_deploy(@commit, AnonymousUser.new, force: true, allow_concurrency: true)
assert_equal 'pending', @commit.last_release_status.state
end
end
Expand Down

0 comments on commit b2374bc

Please sign in to comment.