test(dashboard): gate WAL preservation check by runtime

Signed-off-by: joelbrilliant <joelbrilliant1@gmail.com>
This commit is contained in:
joelbrilliant 2026-07-30 13:36:39 +10:00 committed by kshitij
parent 57197cd48d
commit 9bcc326207
1 changed files with 1 additions and 0 deletions

View File

@ -258,6 +258,7 @@ class TestWebServerEndpoints:
self.client = TestClient(app)
self.client.headers[_SESSION_HEADER_NAME] = _SESSION_TOKEN
@pytest.mark.requires_wal
def test_get_sessions_poll_preserves_pending_wal(self):
"""Repeated GET-only polls must not checkpoint another writer's WAL."""
import sqlite3