From 36d66702b7e8afa7449c9aebf305c276785b648f Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 26 Jun 2026 18:27:03 +0000 Subject: tests: mark test_search_shows_results_found as transient The search endpoint occasionally returns a page without 'records found' when GN2 is under load or just restarted (cold query path). The test passes on immediate re-run. Mark transient as a signal for future retry logic (e.g. pytest-rerunfailures) rather than treating failures as definitive. --- tests/test_gn2_smoke.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/test_gn2_smoke.py b/tests/test_gn2_smoke.py index 7c23642..8799c2f 100644 --- a/tests/test_gn2_smoke.py +++ b/tests/test_gn2_smoke.py @@ -64,6 +64,7 @@ class TestSearch: resp = http.get(gn2_url + "/search", params=params, timeout=60) assert resp.status_code == 200 + @pytest.mark.transient def test_search_shows_results_found(self, gn2_url, http): params = { "species": _SEARCH_SPECIES, -- cgit 1.4.1