continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1366998 - /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ShellProjectTest.java
Date Mon, 30 Jul 2012 05:43:24 GMT
Author: brett
Date: Mon Jul 30 05:43:23 2012
New Revision: 1366998

URL: http://svn.apache.org/viewvc?rev=1366998&view=rev
Log:
distributed build try ... finally as applied elsewhere in r921240

Modified:
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ShellProjectTest.java

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ShellProjectTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ShellProjectTest.java?rev=1366998&r1=1366997&r2=1366998&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ShellProjectTest.java
(original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ShellProjectTest.java
Mon Jul 30 05:43:23 2012
@@ -131,11 +131,18 @@ public class ShellProjectTest
         
         editBuildDefinitionShellType( "build.sh", "", "description", "shell", true );
 
-        enableDistributedBuilds();
+        try
+        {
+            enableDistributedBuilds();
 
-        goToProjectGroupsSummaryPage();
+            goToProjectGroupsSummaryPage();
 
-        buildProjectGroup( SHELL_GROUP_NAME ,SHELL_GROUP_ID , SHELL_GROUP_DESC ,SHELL_NAME,
true );
+            buildProjectGroup( SHELL_GROUP_NAME ,SHELL_GROUP_ID , SHELL_GROUP_DESC ,SHELL_NAME,
true );
+        }
+        finally
+        {
+            disableDistributedBuilds();
+        }
 
     }
     



Mime
View raw message