Skip to content

Commit

Permalink
fix flaky hpc module test by reseting this instance var (OSC#2981)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Aug 28, 2023
1 parent 8e72f06 commit 59f52fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/dashboard/test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def stub_sys_apps
end

def stub_clusters
Configuration.instance_variable_set('@job_clusters', nil)
OodAppkit.stubs(:clusters).returns(OodCore::Clusters.load_file('test/fixtures/config/clusters.d'))
end

Expand Down

0 comments on commit 59f52fe

Please sign in to comment.