-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
7.2.0.CD14
-
None
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