You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rg...@apache.org on 2019/11/23 14:04:04 UTC

[qpid-broker-j] branch master updated: QPID-8373 : Modify test to encourage synchronous send

This is an automated email from the ASF dual-hosted git repository.

rgodfrey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git


The following commit(s) were added to refs/heads/master by this push:
     new c59342a  QPID-8373 : Modify test to encourage synchronous send
c59342a is described below

commit c59342a4eb53fccfc6f7476e7321938f5bd9ac50
Author: Robert Godfrey <rg...@apache.org>
AuthorDate: Sat Nov 23 15:04:15 2019 +0100

    QPID-8373 : Modify test to encourage synchronous send
---
 .../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-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org