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

[IBM MQ 8/9 RA] TCK7 - producer.setDeliveryDelay(expDeliveryDelay) is ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 7.2.0.CD14
    • WebSphereMQ RA
    • None

    Description

      producer.setDeliveryDelay(expDeliveryDelay); does not set delivery delay and it remains default (which is 0)

      TCK 7 test com/sun/ts/tests/jms/core20/messageproducertests/Client.java#queueSetGetDeliveryDelayTest_from_ejb:

      	    TestUtil.logMsg("Calling setDeliveryDelay("+expDeliveryDelay+")");
      	    producer.setDeliveryDelay(expDeliveryDelay);
      	    TestUtil.logMsg("Calling getDeliveryDelay and expect " + expDeliveryDelay + " to be returned");
      	    long actDeliveryDelay = producer.getDeliveryDelay();
      	    if(actDeliveryDelay != expDeliveryDelay) {
      		TestUtil.logErr("getDeliveryDelay() returned "+ actDeliveryDelay + ", expected " + expDeliveryDelay);
      		pass = false;
      	    }
              } catch (Exception e) {
      	    TestUtil.logErr("Caught exception: " + e.getMessage());
                  throw new Fault("queueSetGetDeliveryDelayTest");
              } 
      

      TCK 7 tests which are failing because of this issue:

      [javatest.batch] FAILED........com/sun/ts/tests/jms/core20/messageproducertests/Client.java#queueSetGetDeliveryDelayTest_from_ejb
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core20/messageproducertests/Client.java#queueSetGetDeliveryDelayTest_from_jsp
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core20/messageproducertests/Client.java#queueSetGetDeliveryDelayTest_from_servlet
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core20/messageproducertests/Client.java#topicSetGetDeliveryDelayTest_from_ejb
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core20/messageproducertests/Client.java#topicSetGetDeliveryDelayTest_from_jsp
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core20/messageproducertests/Client.java#topicSetGetDeliveryDelayTest_from_servlet
      

      Attachments

        Activity

          People

            jmesnil1@redhat.com Jeff Mesnil
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: