about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorClaude2026-06-26 18:27:03 +0000
committerFrederick Muriuki Muriithi2026-06-26 13:27:43 -0500
commit36d66702b7e8afa7449c9aebf305c276785b648f (patch)
treeeaa09797c8493f47469666623df28f483025b958 /tests
parent7a477074f5099fb2da8ecd5f5d16c11301c72d45 (diff)
downloadgn-integration-tests-main.tar.gz
tests: mark test_search_shows_results_found as transient HEAD main
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_gn2_smoke.py1
1 files changed, 1 insertions, 0 deletions
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,