Ver Fonte

HUE-4822 [editor] Only run HS2 fetch_result_size tests in live-cluster mode

Jenny Kim há 9 anos atrás
pai
commit
cdb31442db

+ 3 - 0
desktop/libs/notebook/src/notebook/connectors/tests/tests_hiveserver2.py

@@ -610,6 +610,9 @@ class TestHiveserver2ApiWithHadoop(BeeswaxSampleProvider):
 
 
   def test_fetch_result_size_mr(self):
+    if not is_live_cluster():  # Mini-cluster does not have JHS
+      raise SkipTest
+
     # Assert that a query with no job will return no rows or size
     statement = "SELECT 'hello world';"