From 6a2064c419cb4bf77de8a15b67d4da8c2a5525a3 Mon Sep 17 00:00:00 2001 From: Petro Tiurin <93913847+ptiurin@users.noreply.github.com> Date: Thu, 22 Sep 2022 15:00:42 +0100 Subject: [PATCH] test: Skip error tests as dev has diverged --- tests/integration/dbapi/async/test_errors_async.py | 3 ++- tests/integration/dbapi/sync/test_errors.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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: