You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kw...@apache.org on 2017/01/24 09:55:15 UTC

svn commit: r1780043 - in /qpid/java/trunk: bdbstore/systests/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBBackupTest.java test-profiles/Java10Excludes

Author: kwall
Date: Tue Jan 24 09:55:15 2017
New Revision: 1780043

URL: http://svn.apache.org/viewvc?rev=1780043&view=rev
Log:
QPID-7546: [System Tests] Fix BDBBackupTest for AMQP 1.0 persistent profile.  Exclude MultiNode/TwoNode tests

Modified:
    qpid/java/trunk/bdbstore/systests/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBBackupTest.java
    qpid/java/trunk/test-profiles/Java10Excludes

Modified: qpid/java/trunk/bdbstore/systests/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBBackupTest.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/bdbstore/systests/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBBackupTest.java?rev=1780043&r1=1780042&r2=1780043&view=diff
==============================================================================
--- qpid/java/trunk/bdbstore/systests/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBBackupTest.java (original)
+++ qpid/java/trunk/bdbstore/systests/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBBackupTest.java Tue Jan 24 09:55:15 2017
@@ -52,7 +52,7 @@ public class BDBBackupTest extends QpidB
     private File _backupFromDir;
 
     @Override
-    protected void setUp() throws Exception
+    public void setUp() throws Exception
     {
         super.setUp();
         _backupToDir = new File(SYSTEM_TMP_DIR + File.separator + getTestName());
@@ -66,7 +66,7 @@ public class BDBBackupTest extends QpidB
     }
 
     @Override
-    protected void tearDown() throws Exception
+    public void tearDown() throws Exception
     {
         try
         {
@@ -97,9 +97,7 @@ public class BDBBackupTest extends QpidB
     {
         Connection con = getConnection();
         Session session = con.createSession(false, Session.AUTO_ACKNOWLEDGE);
-        Destination destination = session.createQueue(getTestQueueName());
-        // Create queue by consumer side-effect
-        session.createConsumer(destination).close();
+        Destination destination = createTestQueue(session);
 
         final int numOfMessages = endIndex - startIndex;
         final int batchSize = 0;

Modified: qpid/java/trunk/test-profiles/Java10Excludes
URL: http://svn.apache.org/viewvc/qpid/java/trunk/test-profiles/Java10Excludes?rev=1780043&r1=1780042&r2=1780043&view=diff
==============================================================================
--- qpid/java/trunk/test-profiles/Java10Excludes (original)
+++ qpid/java/trunk/test-profiles/Java10Excludes Tue Jan 24 09:55:15 2017
@@ -193,13 +193,18 @@ org.apache.qpid.client.ssl.SSLTest#testS
 / Test is 0-10 specific
 org.apache.qpid.client.ssl.SSLTest#testMultipleCertsInSingleStore
 
-// Test assumes BURL and Connection URL format
+// Tests assume BURL and/or Connection URL formats
 org.apache.qpid.systest.rest.ExportImportMessagesRestTest#testExtractImportEndToEnd
+org.apache.qpid.server.store.berkeleydb.replication.MultiNodeTest#*
+org.apache.qpid.server.store.berkeleydb.replication.TwoNodeTest#*
 
 // Qpid JMS Client does not support the use of preestablished socket
 org.apache.qpid.client.connection.ExistingSocketTest#*
 
-
+// These tests assume names of queues backing durable subscriptions
+org.apache.qpid.server.store.berkeleydb.BDBUpgradeTest#testConsumptionOfUpgradedMessages
+org.apache.qpid.server.store.berkeleydb.BDBUpgradeTest#testDurableSubscriptionWithoutSelector
+org.apache.qpid.server.store.berkeleydb.BDBUpgradeTest#testSelectorDurability
 
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org