portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwat...@apache.org
Subject svn commit: r929924 - /portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/tools/pamanager/TestPortletApplicationManager.java
Date Thu, 01 Apr 2010 11:05:58 GMT
Author: rwatler
Date: Thu Apr  1 11:05:58 2010
New Revision: 929924

URL: http://svn.apache.org/viewvc?rev=929924&view=rev
Log:
JS2-1130: skip concurrent PAM tests for Derby database

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/tools/pamanager/TestPortletApplicationManager.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/tools/pamanager/TestPortletApplicationManager.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/tools/pamanager/TestPortletApplicationManager.java?rev=929924&r1=929923&r2=929924&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/tools/pamanager/TestPortletApplicationManager.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/test/java/org/apache/jetspeed/tools/pamanager/TestPortletApplicationManager.java
Thu Apr  1 11:05:58 2010
@@ -188,6 +188,15 @@ public class TestPortletApplicationManag
      */
     public void testPortletApplicationManager()
     {
+        // check for distributed database support
+        String databaseName = System.getProperty("org.apache.jetspeed.database.default.name");
+        if ((databaseName != null) && databaseName.equals("derby"))
+        {
+            System.out.println("Database support not distributed: system limitation... test
skipped");
+            log.warn("Database support not distributed: system limitation... test skipped");
+            return;
+        }
+        
         // start portlet application manager test servers
         final TestProgram server0 = new TestProgram("server-0", PortletApplicationManagerServer.class);
         final TestProgram server1 = new TestProgram("server-1", PortletApplicationManagerServer.class);



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message