qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oru...@apache.org
Subject [qpid-broker-j] branch 7.0.x updated: NO-JIRA: Fix failing system test
Date Mon, 08 Jul 2019 15:59:08 GMT
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 <orudyy@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


Mime
View raw message