Uploaded image for project: 'A-MQ Broker'
  1. A-MQ Broker
  2. ENTMQBR-442

ActiveMQ CPP (CMS) 'testReceiveBrowseReceive' integration unit tests occasionally failing

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: A-MQ 7.0.0.ER12
    • Fix Version/s: A-MQ 7.0.0.GA
    • Component/s: None
    • Labels:
      None
    • Target Release:
    • Steps to Reproduce:
      Hide

      1.) make sure that apr and cppunit are installed
      2.) git clone https://git-wip-us.apache.org/repos/asf/activemq-cpp.git
      3.) cd activamq-cpp/activamq-cpp
      4.) git checkout tags/activemq-cpp-3.9.3
      5.) ./autogen.sh
      6.) ./configure
      7.) make check
      8.) cd src/test-integration
      9.) Start AMQ7 broker
      10.) ./activemq-test-integration

      Show
      1.) make sure that apr and cppunit are installed 2.) git clone https://git-wip-us.apache.org/repos/asf/activemq-cpp.git 3.) cd activamq-cpp/activamq-cpp 4.) git checkout tags/activemq-cpp-3.9.3 5.) ./autogen.sh 6.) ./configure 7.) make check 8.) cd src/test-integration 9.) Start AMQ7 broker 10.) ./activemq-test-integration

      Description

      This is a follow up to ENTMQBR-417 and ENTMQBR-422 issue.

      The cause of the following test failure was not yet identified. Note that the tests is failing just occasionally (reproducibility around 25%):

      1) test: N8activemq4test8openwire24OpenwireQueueBrowserTestE::testReceiveBrowseReceive (F) line: 81 activemq/test/QueueBrowserTest.cpp
      assertion failed
      - Expression: enumeration->hasMoreMessages()
      - should have received the second message 
      (OR sometimes: - should have received the third message)
      

      Test console transcript and broker log is attached.

      Note: There are multiple failing tests when executing CMS integration units against AMQ7/Artemis (please see ENTMQBR-417 and ENTMQ-422 for details). The aim is to have stable CMS unit test suite for Artemis that can be used for regression testing and improve test coverage.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ataylor Andy Taylor
                  Reporter:
                  pematous Petr Matousek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: