Skip to content

Commit

Permalink
Merge pull request #22876 from Fryguy/clear_messaging_client_spec
Browse files Browse the repository at this point in the history
Clear messaging_client between specs
  • Loading branch information
jrafanie committed Feb 5, 2024
2 parents 959c316 + 75a1cb6 commit 69eaf8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/support/evm_spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def self.clear_caches
clear_instance_variables(MiqEnvironment::Command) if defined?(MiqEnvironment::Command)
clear_instance_variable(MiqProductFeature, :@feature_cache) if defined?(MiqProductFeature)
clear_instance_variable(MiqProductFeature, :@obj_cache) if defined?(MiqProductFeature)
clear_instance_variable(MiqQueue, :@messaging_client) if defined?(MiqQueue)
clear_instance_variable(BottleneckEvent, :@event_definitions) if defined?(BottleneckEvent)
clear_instance_variable(MiqWorker, :@rails_worker) if defined?(MiqWorker)
clear_instance_variable(Tenant, :@root_tenant) if defined?(Tenant)
Expand Down

0 comments on commit 69eaf8e

Please sign in to comment.