mirror of https://github.com/apache/activemq.git
[AMQ-6643] final modifier for test in the right place
This commit is contained in:
parent
2a2cb3997f
commit
8b064889c6
|
@ -70,9 +70,9 @@ public class VirtualTopicWildcardTest {
|
|||
@Test
|
||||
public void testWildcardAndSimpleConsumerShareMessages() throws Exception {
|
||||
|
||||
final ConsumerBean messageList1 = new ConsumerBean("1:");
|
||||
final ConsumerBean messageList2 = new ConsumerBean("2:");
|
||||
final ConsumerBean messageList3 = new ConsumerBean("3:");
|
||||
ConsumerBean messageList1 = new ConsumerBean("1:");
|
||||
ConsumerBean messageList2 = new ConsumerBean("2:");
|
||||
ConsumerBean messageList3 = new ConsumerBean("3:");
|
||||
|
||||
messageList1.setVerbose(true);
|
||||
messageList2.setVerbose(true);
|
||||
|
@ -120,7 +120,7 @@ public class VirtualTopicWildcardTest {
|
|||
return cf.createConnection();
|
||||
}
|
||||
|
||||
protected void assertMessagesArrived(ConsumerBean messageList1, ConsumerBean messageList2) {
|
||||
protected void assertMessagesArrived(final ConsumerBean messageList1, final ConsumerBean messageList2) {
|
||||
try {
|
||||
assertTrue("expected", Wait.waitFor(new Wait.Condition() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue