test: Fix flakiness of test_second_request_for_non_existent_table_should_be_quick

Changed divider in assertion (response.elapsed.total_seconds() < first_duration / divider) to 2 (from 10).
This commit is contained in:
Michał Kłeczek
2026-01-13 11:37:50 +07:00
committed by Steve Chavez
parent 8f5fe3f46b
commit 886df84e87
+1 -1
View File
@@ -89,4 +89,4 @@ def test_second_request_for_non_existent_table_should_be_quick(defaultenv):
assert data["code"] == "PGRST205"
first_duration = response.elapsed.total_seconds()
response = postgrest.session.get("/unknown-table")
assert response.elapsed.total_seconds() < first_duration / 10
assert response.elapsed.total_seconds() < first_duration / 2