Skip to content

Commit

Permalink
Fix evm_application_spec parallel spec failure
Browse files Browse the repository at this point in the history
Fix the `.deployment_status` failure when running in parallel
  • Loading branch information
agrare committed Sep 20, 2024
1 parent f89d7d8 commit 21e9abf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/lib/tasks/evm_application_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ def pad(val, col, adjust = :rjust)

it "returns redeployment otherwise" do
EvmSpecHelper.local_miq_server
expect(ActiveRecord::MigrationContext).to receive(:new).and_return(double(:current_version => 20190712135032, :needs_migration? => false))
expect(described_class.deployment_status).to eq("redeployment")
end
end
Expand Down

0 comments on commit 21e9abf

Please sign in to comment.