瀏覽代碼

Revert "AMBARI-8779: Common Services: Refactor HDP-2.1 FALCON, STORM, TEZ services - commit unstaged change (Jayush Luniya)"

This reverts commit 0564a1584e9c88243442d8b92db5483b8db97b66.
Jayush Luniya 10 年之前
父節點
當前提交
7ecf19c044
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      ambari-server/src/test/python/stacks/2.1/TEZ/test_tez_client.py

+ 2 - 4
ambari-server/src/test/python/stacks/2.1/TEZ/test_tez_client.py

@@ -62,12 +62,10 @@ class TestTezClient(RMFTestCase):
 
 
 
 
   def test_upgrade(self):
   def test_upgrade(self):
-    self.executeScript(self.COMMON_SERVICES_PACKAGE_DIR + "/scripts/tez_client.py",
+    self.executeScript("2.1/services/TEZ/package/scripts/tez_client.py",
                        classname = "TezClient",
                        classname = "TezClient",
                        command = "restart",
                        command = "restart",
-                       config_file="client-upgrade.json",
-                       hdp_stack_version = self.STACK_VERSION,
-                       target = RMFTestCase.TARGET_COMMON_SERVICES)
+                       config_file="client-upgrade.json")
 
 
     self.assertResourceCalled("Execute", "hdp-select set hadoop-client 2.2.1.0-2067")
     self.assertResourceCalled("Execute", "hdp-select set hadoop-client 2.2.1.0-2067")