Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8393 Umbrella issue to address fixing flaky tests
  3. CXF-8397

Fix org.apache.cxf.systest.ws.rm.SequenceTest.testOnewayAnonymousAcksSuppressedAsyncExecutor

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Unknown

    Description

      java.lang.AssertionError: 
      Unexpected number of outbound messages
      [0] : <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/greeter_control/Greeter/greetMeOneWayRequest</Action><MessageID xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:b16283b9-a00f-432a-8767-43f01f4d1530</MessageID><To xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:13728/SoapContext/GreeterPort</To><wsrm:Sequence soap:mustUnderstand="1" xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:a59c1f3a-a03c-481c-aac7-c6f18dc35fd2</wsrm:Identifier><wsrm:MessageNumber>1</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay xmlns="http://cxf.apache.org/greeter_control/types"><requestType>once</requestType></greetMeOneWay></soap:Body></soap:Envelope>
      [1] : <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/greeter_control/Greeter/greetMeOneWayRequest</Action><MessageID xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:6c014d3a-de3a-4d8d-8d7d-c6102efd3fdf</MessageID><To xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:13728/SoapContext/GreeterPort</To><wsrm:Sequence soap:mustUnderstand="1" xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:a59c1f3a-a03c-481c-aac7-c6f18dc35fd2</wsrm:Identifier><wsrm:MessageNumber>3</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay xmlns="http://cxf.apache.org/greeter_control/types"><requestType>thrice</requestType></greetMeOneWay></soap:Body></soap:Envelope> expected:<1> but was:<2>
      	at org.apache.cxf.systest.ws.rm.SequenceTest.testOnewayAnonymousAcksSuppressed(SequenceTest.java:460)
      	at org.apache.cxf.systest.ws.rm.SequenceTest.testOnewayAnonymousAcksSuppressedAsyncExecutor(SequenceTest.java:416)
       

       

       Error MessageUnexpected number of outbound messages
      [0] : <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/greeter_control/Greeter/greetMeOneWayRequest</Action><MessageID xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:0efd0476-ca27-4de1-b81b-1ea19ba9a6b4</MessageID><To xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:40728/SoapContext/GreeterPort</To><wsrm:Sequence soap:mustUnderstand="1" xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:aa61862d-08ac-47f4-b1e3-c7c265192591</wsrm:Identifier><wsrm:MessageNumber>1</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay xmlns="http://cxf.apache.org/greeter_control/types"><requestType>once</requestType></greetMeOneWay></soap:Body></soap:Envelope>
      [1] : <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/greeter_control/Greeter/greetMeOneWayRequest</Action><MessageID xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:6d5d98d9-5fd2-452b-b6a5-cb4ae4ec01de</MessageID><To xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:40728/SoapContext/GreeterPort</To><wsrm:Sequence soap:mustUnderstand="1" xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:aa61862d-08ac-47f4-b1e3-c7c265192591</wsrm:Identifier><wsrm:MessageNumber>2</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay xmlns="http://cxf.apache.org/greeter_control/types"><requestType>twice</requestType></greetMeOneWay></soap:Body></soap:Envelope> expected:<1> but was:<2>Stacktracejava.lang.AssertionError: 
      Unexpected number of outbound messages
      [0] : <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/greeter_control/Greeter/greetMeOneWayRequest</Action><MessageID xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:0efd0476-ca27-4de1-b81b-1ea19ba9a6b4</MessageID><To xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:40728/SoapContext/GreeterPort</To><wsrm:Sequence soap:mustUnderstand="1" xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:aa61862d-08ac-47f4-b1e3-c7c265192591</wsrm:Identifier><wsrm:MessageNumber>1</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay xmlns="http://cxf.apache.org/greeter_control/types"><requestType>once</requestType></greetMeOneWay></soap:Body></soap:Envelope>
      [1] : <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/greeter_control/Greeter/greetMeOneWayRequest</Action><MessageID xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:6d5d98d9-5fd2-452b-b6a5-cb4ae4ec01de</MessageID><To xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:40728/SoapContext/GreeterPort</To><wsrm:Sequence soap:mustUnderstand="1" xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:aa61862d-08ac-47f4-b1e3-c7c265192591</wsrm:Identifier><wsrm:MessageNumber>2</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay xmlns="http://cxf.apache.org/greeter_control/types"><requestType>twice</requestType></greetMeOneWay></soap:Body></soap:Envelope> expected:<1> but was:<2>
      	at org.apache.cxf.systest.ws.rm.SequenceTest.testOnewayAnonymousAcksSuppressed(SequenceTest.java:460)
      	at org.apache.cxf.systest.ws.rm.SequenceTest.testOnewayAnonymousAcksSuppressedAsyncExecutor(SequenceTest.java:416)
      

      Attachments

        Activity

          People

            reta Andriy Redko
            reta Andriy Redko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: