Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-7491

Slow consumer on queue is not disconnected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.1.0.DR12
    • 7.1.0.DR8
    • ActiveMQ
    • None
    • Regression
    • Hide

      Steps to reproduce the issue:

      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      git checkout b9a7d942199bd394c0b8d09a2a0d3ccbb7dde2eb
      
      groovy -DEAP_VERSION=7.1.0.DR8 PrepareServers7.groovy
      export WORKSPACE=$PWD
      export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap
      export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap
      export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap
      export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap
      cd ../jboss-hornetq-testsuite/
      mvn clean test -Dtest=SlowConsumersTestCase#testSlowReceiverKill -DfailIfNoTests=false -Deap=7x | tee log
      
      Show
      Steps to reproduce the issue: git clone git: //git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ git checkout b9a7d942199bd394c0b8d09a2a0d3ccbb7dde2eb groovy -DEAP_VERSION=7.1.0.DR8 PrepareServers7.groovy export WORKSPACE=$PWD export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap cd ../jboss-hornetq-testsuite/ mvn clean test -Dtest=SlowConsumersTestCase#testSlowReceiverKill -DfailIfNoTests= false -Deap=7x | tee log

    Description

      Consumer on queue is not killed if msg/s is below specified stresshold. This issue was hit with EAP 7.1.0.DR8 (Artemis 1.5.0). This is regression against EAP 7.1.0.DR7 (Artemis 1.4.0)

      Test Scenario:
      - Start EAP 7.1.0.DR8 (Artemis 1.5.0) with queue InQueue
      	- configure address settings:
      		"slow-consumer-check-period" => 1L,
      		"slow-consumer-policy" => "KILL",
      		"slow-consumer-threshold" => 20L
      - Send 10 000 messages to queue InQueue
      - Start slow consumer on queue InQueue. Consumer reads 10 msg/s so it's below specified stresshold.
      

      Expected result:
      Consumer is killed.

      Actual result:
      Consumer is not killed and consumes all messages in this slow rate.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-ataylor Andy Taylor
              mnovak1@redhat.com Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: