activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [activemq-artemis] branch master updated: NO-JIRA Checkstyle
Date Fri, 17 Apr 2020 01:48:43 GMT
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/master by this push:
     new b9103e0  NO-JIRA Checkstyle
b9103e0 is described below

commit b9103e0903914761c89a1d70b45ad17140fd7072
Author: Clebert Suconic <clebertsuconic@apache.org>
AuthorDate: Thu Apr 16 21:48:23 2020 -0400

    NO-JIRA Checkstyle
---
 .../apache/activemq/artemis/jms/tests/selector/SelectorTest.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/selector/SelectorTest.java
b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/selector/SelectorTest.java
index 811c649..530abf9 100644
--- a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/selector/SelectorTest.java
+++ b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/selector/SelectorTest.java
@@ -203,7 +203,7 @@ public class SelectorTest extends ActiveMQServerTestCase {
          MessageConsumer cons2 = sess.createConsumer(queue1, selector2);
 
          for (int j = 0; j < 100; j++) {
-            m = cons2.receive(1000);
+            m = cons2.receive(100);
 
             ProxyAssertSupport.assertNotNull(m);
 
@@ -211,7 +211,7 @@ public class SelectorTest extends ActiveMQServerTestCase {
 
             ProxyAssertSupport.assertEquals("kermit the frog", m.getStringProperty("beatle"));
          }
-     } finally {
+      } finally {
          if (conn != null) {
             conn.close();
          }
@@ -276,7 +276,7 @@ public class SelectorTest extends ActiveMQServerTestCase {
          MessageConsumer cons1 = sess.createConsumer(queue1, selector1);
 
          for (int j = 0; j < NUM_MESSAGES; j++) {
-            Message m = cons1.receive(1000);
+            Message m = cons1.receive(100);
 
             ProxyAssertSupport.assertNotNull(m);
 
@@ -341,7 +341,7 @@ public class SelectorTest extends ActiveMQServerTestCase {
             }
 
             for (int j = 0; j < 10; j++) {
-               Message m = cons1.receive(1000);
+               Message m = cons1.receive(100);
 
                ProxyAssertSupport.assertNotNull(m);
             }


Mime
View raw message