From 886df84e8712bcb358386eb6464d65ee8152692a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C5=82eczek?= Date: Tue, 13 Jan 2026 09:53:11 +0700 Subject: [PATCH] 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). --- test/io/test_big_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/io/test_big_schema.py b/test/io/test_big_schema.py index 2cfbb9397..c4c4f9a78 100644 --- a/test/io/test_big_schema.py +++ b/test/io/test_big_schema.py @@ -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