Author: rvs
Date: Thu Sep  1 21:10:59 2011
New Revision: 1164274

URL: http://svn.apache.org/viewvc?rev=1164274&view=rev
Log:
BIGTOP-69. Certain tests in iTest common require extraneous dependencies and 
should be @Ignored for now

Modified:
    
incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/pmanager/PackageManagerTest.groovy
    
incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/posix/ServiceTest.groovy
    
incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/shell/ShellTest.groovy

Modified: 
incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/pmanager/PackageManagerTest.groovy
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/pmanager/PackageManagerTest.groovy?rev=1164274&r1=1164273&r2=1164274&view=diff
==============================================================================
--- 
incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/pmanager/PackageManagerTest.groovy
 (original)
+++ 
incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/pmanager/PackageManagerTest.groovy
 Thu Sep  1 21:10:59 2011
@@ -19,6 +19,7 @@
 package org.apache.bigtop.itest.pmanager
 
 import org.junit.Test
+import org.junit.Ignore
 import static org.junit.Assert.assertTrue
 import static org.junit.Assert.assertEquals
 import static org.junit.Assert.assertFalse
@@ -44,6 +45,7 @@ class PackageManagerTest {
     assertFalse("can not get description for the gcc package", 
pkgs.get(0).getMeta()["description"].length() == 0);
   }
 
+  @Ignore("required sudo")
   @Test
   void installBash() {
     PackageInstance bash_pkg = PackageInstance.getPackageInstance(pmgr, 
"bash");
@@ -104,6 +106,7 @@ class PackageManagerTest {
     assertTrue("cron package is expected to contain at least a few config 
files", list.size() > 0);
   }
 
+  @Ignore("required sudo")
   @Test
   void testRepoManagement() {
     String repo_id = "test-repo";
@@ -113,6 +116,7 @@ class PackageManagerTest {
                  0, pmgr.removeBinRepo(repo_id));
   }
 
+  @Ignore("required sudo")
   @Test
   void testRepoFileManagement() {
     String repo_id = "test-repo";

Modified: 
incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/posix/ServiceTest.groovy
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/posix/ServiceTest.groovy?rev=1164274&r1=1164273&r2=1164274&view=diff
==============================================================================
--- 
incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/posix/ServiceTest.groovy
 (original)
+++ 
incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/posix/ServiceTest.groovy
 Thu Sep  1 21:10:59 2011
@@ -18,6 +18,7 @@
 
 package org.apache.bigtop.itest.posix
 
+import org.junit.Ignore
 import org.junit.Test
 import static org.junit.Assert.assertTrue
 import static org.junit.Assert.assertEquals
@@ -33,6 +34,7 @@ class ServiceTest {
     assertEquals("wrong service name", name, svc.getName());
   }
 
+  @Ignore("requires chkconfig") 
   @Test
   void testRunLevels() {
     List<String> l = svc.getRunLevels();

Modified: 
incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/shell/ShellTest.groovy
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/shell/ShellTest.groovy?rev=1164274&r1=1164273&r2=1164274&view=diff
==============================================================================
--- 
incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/shell/ShellTest.groovy
 (original)
+++ 
incubator/bigtop/trunk/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/shell/ShellTest.groovy
 Thu Sep  1 21:10:59 2011
@@ -18,6 +18,7 @@
 
 package org.apache.bigtop.itest.shell
 
+import org.junit.Ignore
 import org.junit.Test
 
 import static org.junit.Assert.assertEquals
@@ -35,6 +36,7 @@ class ShellTest {
     assertEquals("got extra stderr ${sh.err}", 0, sh.err.size())
   }
 
+  @Ignore("requires sudo")
   @Test
   void superUserShell() {
     Shell sh = new Shell("/bin/bash -s")


Reply via email to