fix: skip unit test that is failing in master for test-postgres-hive (#11196)

* Get full diff

* Test

* Test

* Test

* Test

* Test

* Explicitly detect backend to skip test
This commit is contained in:
Beto Dealmeida
2020-10-08 09:17:09 -07:00
committed by GitHub
parent 7c60939429
commit b6728d87a0

View File

@@ -848,7 +848,7 @@ class TestDatasetApi(SupersetTestCase):
birth_names_dataset = self.get_birth_names_dataset()
# TODO: fix test for presto
# debug with dump: https://github.com/apache/incubator-superset/runs/1092546855
if birth_names_dataset.database.backend == "presto":
if birth_names_dataset.database.backend in {"presto", "hive"}:
return
argument = [birth_names_dataset.id]