Skip to content
Permalink
Browse files
Update test to use unique clientId on each run.
  • Loading branch information
Timothy A. Bish committed Jan 13, 2010
1 parent dd5d92b commit c2ea7a302275aa5483d2ba848694170dc34698dd
Showing 1 changed file with 2 additions and 1 deletion.
@@ -15,6 +15,7 @@
* limitations under the License.
*/

using System;
using Apache.NMS.Util;
using Apache.NMS.Test;
using NUnit.Framework;
@@ -33,7 +34,7 @@ public class TextMessageTest : NMSTestSupport
[Row(MsgDeliveryMode.NonPersistent)]
public void SendReceiveTextMessage(MsgDeliveryMode deliveryMode)
{
using(IConnection connection = CreateConnection(TEST_CLIENT_ID))
using(IConnection connection = CreateConnection(TEST_CLIENT_ID + ":" + new Random().Next()))
{
connection.Start();
using(ISession session = connection.CreateSession(AcknowledgementMode.AutoAcknowledge))

0 comments on commit c2ea7a3

Please sign in to comment.