incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1393770 - /incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestServices.groovy
Date Wed, 03 Oct 2012 21:19:44 GMT
Author: rvs
Date: Wed Oct  3 21:19:43 2012
New Revision: 1393770

URL: http://svn.apache.org/viewvc?rev=1393770&view=rev
Log:
BIGTOP-725. package service test TestServices should only do config once for a group of services
(Johnny Zhang via rvs)

Modified:
    incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestServices.groovy

Modified: incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestServices.groovy
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestServices.groovy?rev=1393770&r1=1393769&r2=1393770&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestServices.groovy
(original)
+++ incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestServices.groovy
Wed Oct  3 21:19:43 2012
@@ -76,10 +76,8 @@ class TestServices {
   @RunStage(level=-1)
   @Test
   void createState() {
-    svcs.each {
-      checkThat("failed to configure service ${it.getName()}",
-                verifier.config(), equalTo(true));
-    }
+    checkThat("failed to configure service ${svcs.get(0).getName()}",
+              verifier.config(), equalTo(true));
 
     svcs.each {
       checkThat("service ${it.getName()} failed to start",



Mime
View raw message