This is an automated email from the ASF dual-hosted git repository. orudyy pushed a commit to branch 7.1.x in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git
commit 443bfd3298500c75088b6739e233909cc0e8c57a Author: Robert Godfrey <rgodf...@apache.org> AuthorDate: Sat Nov 23 15:04:15 2019 +0100 QPID-8373 : Modify test to encourage synchronous send (cherry picked from commit c59342a4eb53fccfc6f7476e7321938f5bd9ac50) --- .../java/org/apache/qpid/tests/http/endtoend/message/MessageTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/endtoend/message/MessageTest.java b/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/endtoend/message/MessageTest.java index 36afeed..2be0603 100644 --- a/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/endtoend/message/MessageTest.java +++ b/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/endtoend/message/MessageTest.java @@ -44,6 +44,7 @@ import java.util.stream.IntStream; import javax.jms.BytesMessage; import javax.jms.Connection; +import javax.jms.DeliveryMode; import javax.jms.MapMessage; import javax.jms.Message; import javax.jms.MessageConsumer; @@ -160,6 +161,7 @@ public class MessageTest extends HttpTestBase Queue queue = session.createQueue(QUEUE_NAME); MessageProducer producer = session.createProducer(queue); + producer.setDeliveryMode(DeliveryMode.PERSISTENT); Message jmsMessage = session.createMessage(); producer.send(jmsMessage); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org