You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by se...@apache.org on 2021/04/19 01:07:06 UTC

[bigtop] branch master updated: BIGTOP-3532. Fix smoke-tests for Oozie 5.2.1. (#764)

This is an automated email from the ASF dual-hosted git repository.

sekikn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/master by this push:
     new b7256ac  BIGTOP-3532. Fix smoke-tests for Oozie 5.2.1. (#764)
b7256ac is described below

commit b7256acbdc740cd3d93725dc98c8d8d48efa7156
Author: Masatake Iwasaki <iw...@apache.org>
AuthorDate: Mon Apr 19 10:07:00 2021 +0900

    BIGTOP-3532. Fix smoke-tests for Oozie 5.2.1. (#764)
---
 .../groovy/org/apache/bigtop/itest/ooziesmoke/TestOozieSmoke.groovy   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bigtop-tests/test-artifacts/oozie/src/main/groovy/org/apache/bigtop/itest/ooziesmoke/TestOozieSmoke.groovy b/bigtop-tests/test-artifacts/oozie/src/main/groovy/org/apache/bigtop/itest/ooziesmoke/TestOozieSmoke.groovy
index c6899d3..75aaa9a 100644
--- a/bigtop-tests/test-artifacts/oozie/src/main/groovy/org/apache/bigtop/itest/ooziesmoke/TestOozieSmoke.groovy
+++ b/bigtop-tests/test-artifacts/oozie/src/main/groovy/org/apache/bigtop/itest/ooziesmoke/TestOozieSmoke.groovy
@@ -53,7 +53,7 @@ class TestOozieSmoke {
     oozie_tar_home = System.getProperty("org.apache.bigtop.itest.oozie_tar_home",
       (new File("/usr/share/doc/packages/oozie/")).exists() ?
         "/usr/share/doc/packages/oozie/" :
-        "/usr/share/doc/oozie*/");
+        "/usr/lib/oozie");
 
     sh.exec("mkdir /tmp/${tmp_dir}",
       "cd /tmp/${tmp_dir}",
@@ -71,7 +71,7 @@ class TestOozieSmoke {
   }
 
   void testOozieExamplesCommon(String testname) {
-    sh.exec("oozie job -oozie ${oozie_url} -run -DjobTracker=${resourcemanager} -DnameNode=${namenode} " +
+    sh.exec("oozie job -oozie ${oozie_url} -run -DresourceManager=${resourcemanager} -DnameNode=${namenode} " +
       "-DexamplesRoot=${tmp_dir}/examples -config /tmp/${tmp_dir}/examples/apps/${testname}/job.properties");
     assertEquals("Oozie job submition ${testname} failed",
       0, sh.ret);