فهرست منبع

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

Jenny Kim 9 سال پیش
والد
کامیت
cdb31442db
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      desktop/libs/notebook/src/notebook/connectors/tests/tests_hiveserver2.py

+ 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';"