diff --git a/tests/system/python/api/test_audit.py b/tests/system/python/api/test_audit.py index 81a26815bc..331ead6f99 100644 --- a/tests/system/python/api/test_audit.py +++ b/tests/system/python/api/test_audit.py @@ -165,7 +165,10 @@ def test_create_audit_entry(self, fledge_url, payload, total_count, storage_plug ({"source": "LOGGN_X", "severity": "warning", "details": {"message": "Engine oil pressure low"}}), ({"source": "LOG_X", "severity": "information", "details": {"message": "Engine oil pressure is okay."}}) ]) - def test_create_nonexistent_log_code_audit_entry(self, fledge_url, payload): + def test_create_nonexistent_log_code_audit_entry(self, fledge_url, payload, storage_plugin): + if storage_plugin == 'sqlite': + pytest.skip('TODO: FOGL-2124 Enable foreign key constraint in SQLite') + conn = http.client.HTTPConnection(fledge_url) conn.request('POST', '/fledge/audit', body=json.dumps(payload)) r = conn.getresponse()