diff --git a/tests/integration/dbapi/async/test_errors_async.py b/tests/integration/dbapi/async/test_errors_async.py index c75fa9094b..f730d6a77a 100644 --- a/tests/integration/dbapi/async/test_errors_async.py +++ b/tests/integration/dbapi/async/test_errors_async.py @@ -1,5 +1,5 @@ from httpx import ConnectError -from pytest import raises +from pytest import mark, raises from firebolt.async_db import Connection, connect from firebolt.utils.exception import ( @@ -119,6 +119,7 @@ async def test_engine_stopped( await connection.cursor().execute("show tables") +@mark.skip(reason="Behaviour is different in prod vs dev") async def test_database_not_exists( engine_url: str, database_name: str, username: str, password: str, api_endpoint: str ) -> None: diff --git a/tests/integration/dbapi/sync/test_errors.py b/tests/integration/dbapi/sync/test_errors.py index 1a1a519e41..fcffc403e9 100644 --- a/tests/integration/dbapi/sync/test_errors.py +++ b/tests/integration/dbapi/sync/test_errors.py @@ -1,5 +1,5 @@ from httpx import ConnectError -from pytest import raises +from pytest import mark, raises from firebolt.db import Connection, connect from firebolt.utils.exception import ( @@ -109,6 +109,7 @@ def test_engine_stopped( connection.cursor().execute("show tables") +@mark.skip(reason="Behaviour is different in prod vs dev") def test_database_not_exists( engine_url: str, database_name: str, username: str, password: str, api_endpoint: str ) -> None: