This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 3.3.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/3.3.x-fixes by this push:
new a8aea17 CXF-8400: Attempt to fix
org.apache.cxf.systest.ws.rm.ManagedEndpointsTest.testManagedEndpointsOneway/testManagedEndpointsOneway12
a8aea17 is described below
commit a8aea17fc6728163bdbf3bd876375d24b2990c02
Author: reta <[email protected]>
AuthorDate: Fri Feb 12 14:06:31 2021 -0500
CXF-8400: Attempt to fix
org.apache.cxf.systest.ws.rm.ManagedEndpointsTest.testManagedEndpointsOneway/testManagedEndpointsOneway12
(cherry picked from commit 90f357a4621c53e80f39528035e941275b99bd9e)
---
.../test/java/org/apache/cxf/systest/ws/rm/ManagedEndpointsTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ManagedEndpointsTest.java
b/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ManagedEndpointsTest.java
index 35e5339..46c9951 100755
---
a/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ManagedEndpointsTest.java
+++
b/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ManagedEndpointsTest.java
@@ -321,7 +321,6 @@ public class ManagedEndpointsTest extends
AbstractClientServerTestBase {
assertTrue(o instanceof Integer);
}
assertTrue("No queued message " + o, o instanceof Integer && 0 ==
((Integer)o).intValue());
- assertEquals(2L, listener.getLastAcknowledgement());
o = mbs.invoke(clientEndpointName,
"getSourceSequenceAcknowledgedRange",
new Object[]{sseqId}, ONESTRING_SIGNATURE);
@@ -334,6 +333,8 @@ public class ManagedEndpointsTest extends
AbstractClientServerTestBase {
o = mbs.invoke(clientEndpointName,
"getUnAcknowledgedMessageIdentifiers",
new Object[]{sseqId}, ONESTRING_SIGNATURE);
assertTrue("No unacknowledged message", o instanceof Long[] && 0 ==
((Long[])o).length);
+
+ assertEquals(2L, listener.getLastAcknowledgement());
}
private String getSingleDestinationSequenceId(MBeanServer mbs, ObjectName
clientEndpointName)