Skip to content

Commit

Permalink
tests: Recover default min_n_queries after the test
Browse files Browse the repository at this point in the history
Avoid heisen failures due to random order of tests during execution.
  • Loading branch information
charkost committed May 10, 2023
1 parent 1656c71 commit edb27d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_queries.rb
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ def test_min_n_queries
end

assert_no_n_plus_ones
ensure
Prosopite.min_n_queries = 2
end

private
Expand Down

0 comments on commit edb27d0

Please sign in to comment.