You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by or...@apache.org on 2019/07/08 15:59:08 UTC

[qpid-broker-j] branch 7.0.x updated: NO-JIRA: Fix failing system test

This is an automated email from the ASF dual-hosted git repository.

orudyy pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 5dda252  NO-JIRA: Fix failing system test
5dda252 is described below

commit 5dda2521259fcbbf7567a1ee9279d84ae9b50c26
Author: Alex Rudyy <or...@apache.org>
AuthorDate: Mon Jul 8 16:58:53 2019 +0100

    NO-JIRA: Fix failing system test
---
 .../replication/BDBHAVirtualHostNodeRestTest.java          | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/bdbstore/systests/src/test/java/org/apache/qpid/server/store/berkeleydb/replication/BDBHAVirtualHostNodeRestTest.java b/bdbstore/systests/src/test/java/org/apache/qpid/server/store/berkeleydb/replication/BDBHAVirtualHostNodeRestTest.java
index 0fde56f..ab2f26c 100644
--- a/bdbstore/systests/src/test/java/org/apache/qpid/server/store/berkeleydb/replication/BDBHAVirtualHostNodeRestTest.java
+++ b/bdbstore/systests/src/test/java/org/apache/qpid/server/store/berkeleydb/replication/BDBHAVirtualHostNodeRestTest.java
@@ -226,20 +226,6 @@ public class BDBHAVirtualHostNodeRestTest extends QpidRestTestCase
         // wait for new master
         _restTestHelper.waitForAttributeChanged(_baseNodeRestUrl + NODE2 + "?depth=0", BDBHAVirtualHostNode.ROLE, "MASTER");
 
-        // delete remote node
-        getRestTestHelper().submitRequest("remotereplicationnode/" + NODE2 + "/" + NODE1, "DELETE", HttpServletResponse.SC_OK);
-
-        int counter = 0;
-        while (data.size() != 1 && counter<50)
-        {
-            data = getRestTestHelper().getJsonAsList("remotereplicationnode/" + NODE2);
-            if (data.size() != 1)
-            {
-                Thread.sleep(100l);
-            }
-            counter++;
-        }
-        assertEquals("Unexpected number of remote nodes on " + NODE2, 1, data.size());
     }
 
     public void testIntruderBDBHAVHNNotAllowedToConnect() throws Exception


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