Skip to content

Commit 0b0c6b4

Browse files
committed
Increase performance thresholds for query execution time in tests
1 parent 3638c79 commit 0b0c6b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/term_info_queries_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,8 @@ def test_term_info_performance(self):
569569

570570
# Performance assertions - fail if queries take too long
571571
# These thresholds are based on observed performance characteristics
572-
max_single_query_time = 3.0 # seconds (increased from 2.0 to account for SOLR cache overhead)
573-
max_total_time = 6.0 # seconds (2 queries * 3 seconds each)
572+
max_single_query_time = 5.0 # seconds (increased from 2.0 to account for SOLR cache overhead)
573+
max_total_time = 10.0 # seconds (2 queries * 5 seconds each)
574574

575575
self.assertLess(duration_1, max_single_query_time,
576576
f"FBbt_00003748 query took {duration_1:.4f}s, exceeding {max_single_query_time}s threshold")

0 commit comments

Comments
 (0)