From 21e9abff4d96b7177002254e4b48377a074862e5 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Fri, 20 Sep 2024 13:28:27 -0400 Subject: [PATCH] Fix evm_application_spec parallel spec failure Fix the `.deployment_status` failure when running in parallel --- spec/lib/tasks/evm_application_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/lib/tasks/evm_application_spec.rb b/spec/lib/tasks/evm_application_spec.rb index 23c211715c2..f9ae95a7bbb 100644 --- a/spec/lib/tasks/evm_application_spec.rb +++ b/spec/lib/tasks/evm_application_spec.rb @@ -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