Skip to content

Commit

Permalink
fix: Skips Hive tests that are blocking PRs (#27605)
Browse files Browse the repository at this point in the history
(cherry picked from commit 718cd64)
  • Loading branch information
michael-s-molina committed Mar 21, 2024
1 parent 9887b4e commit 48f851f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/integration_tests/charts/data/api_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
from tests.common.query_context_generator import ANNOTATION_LAYERS
from tests.integration_tests.fixtures.query_context import get_query_context

from tests.integration_tests.test_app import app


CHART_DATA_URI = "api/v1/chart/data"
CHARTS_FIXTURE_COUNT = 10
Expand All @@ -79,6 +81,13 @@
}


@pytest.fixture(autouse=True)
def skip_by_backend():
with app.app_context():
if backend() == "hive":
pytest.skip("Skipping tests for Hive backend")


class BaseTestChartDataApi(SupersetTestCase):
query_context_payload_template = None

Expand Down

0 comments on commit 48f851f

Please sign in to comment.