NIFI-2630: Changed name of queue in unit test to be unique in order to avoid getting messages from another test if the other tests fails to properly shutdown the connection. This closes #2458.

This commit is contained in:
Mark Payne 2018-03-02 09:36:18 -05:00
parent 42e6fa42a3
commit 74bb341abc
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ public class PublishJMSTest {
public void validatePublishTextMessage() throws Exception {
ActiveMQConnectionFactory cf = new ActiveMQConnectionFactory("vm://localhost?broker.persistent=false");
final String destinationName = "fooQueue";
final String destinationName = "validatePublishTextMessage";
PublishJMS pubProc = new PublishJMS();
TestRunner runner = TestRunners.newTestRunner(pubProc);
JMSConnectionFactoryProviderDefinition cs = mock(JMSConnectionFactoryProviderDefinition.class);