Skip to content

Commit

Permalink
Added test for slow_queries method
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Feb 20, 2024
1 parent 488972a commit 1b5d6e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/query_stats_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ def test_clean_query_stats
assert database.clean_query_stats
end

def test_slow_queries
assert database.slow_queries
end

def gte12?
database.server_version_num >= 120000
end
Expand Down

0 comments on commit 1b5d6e1

Please sign in to comment.