[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-commits
Subject:    [activemq-artemis] branch new-logging updated: fix compile issues IDE somehow decided not to show
From:       robbie () apache ! org
Date:       2022-07-28 16:27:36
Message-ID: 165902565676.1960995.331328885549732940 () gitbox2-he-fi ! apache ! org
[Download RAW message or body]

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

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


The following commit(s) were added to refs/heads/new-logging by this push:
     new 2b63ad3dc6 fix compile issues IDE somehow decided not to show
2b63ad3dc6 is described below

commit 2b63ad3dc6d9856efbf5486b0b089ef9c061748e
Author: Robbie Gemmell <robbie@apache.org>
AuthorDate: Thu Jul 28 17:27:06 2022 +0100

    fix compile issues IDE somehow decided not to show
---
 .../tests/integration/cluster/bridge/BridgeReconnectTest.java       | 6 +++---
 .../tests/integration/cluster/distribution/ClusterTestBase.java     | 2 +-
 .../cluster/failover/PageCleanupWhileReplicaCatchupTest.java        | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/bridge/BridgeReconnectTest.java \
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/bridge/BridgeReconnectTest.java
 index 96a9d383a3..8d563fc9a7 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/bridge/BridgeReconnectTest.java
                
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/bridge/BridgeReconnectTest.java
 @@ -506,7 +506,7 @@ public class BridgeReconnectTest extends BridgeTestBase {
                // Simulate CPU load until bridge delivery after failure
                deliveryAfterFailureLatch.await();
             } catch (InterruptedException e) {
-               log.debug(e);
+               log.debug("Interrupted", e);
             }
          }
 
@@ -518,9 +518,9 @@ public class BridgeReconnectTest extends BridgeTestBase {
                   // before routing messages delivered by bridge before failure
                   routingBarrier.await();
                } catch (InterruptedException e) {
-                  log.debug(e);
+                  log.debug("Interrupted", e);
                } catch (BrokenBarrierException e) {
-                  log.debug(e);
+                  log.debug("Interrupted", e);
                }
             }
          }
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/distribution/ClusterTestBase.java \
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/distribution/ClusterTestBase.java
 index d6d5a62847..40f0faf0af 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/distribution/ClusterTestBase.java
                
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/distribution/ClusterTestBase.java
 @@ -149,7 +149,7 @@ public abstract class ClusterTestBase extends ActiveMQTestBase {
       try {
          pluggableQuorumConfiguration = new \
DistributedPrimitiveManagerConfiguration(FileBasedPrimitiveManager.class.getName(), \
Collections.singletonMap("locks-folder", \
temporaryFolder.newFolder("manager").toString()));  } catch (IOException ioException) \
                {
-         log.error(ioException);
+         log.error(ioException.getMessage(), ioException);
          return null;
       }
       return pluggableQuorumConfiguration;
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/PageCleanupWhileReplicaCatchupTest.java \
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/PageCleanupWhileReplicaCatchupTest.java
 index b23d1d989b..abe0e71686 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/PageCleanupWhileReplicaCatchupTest.java
                
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/PageCleanupWhileReplicaCatchupTest.java
 @@ -48,7 +48,7 @@ public class PageCleanupWhileReplicaCatchupTest extends \
FailoverTestBase {  private static final int NUMBER_OF_WORKERS = 5;
    private static final int NUMBER_OF_RESTARTS = 5;
 
-   private static final Logger logger = \
Logger.getFactoryLogger(PageCleanupWhileReplicaCatchupTest.class); +   private static \
final Logger logger = \
LoggerFactory.getLogger(PageCleanupWhileReplicaCatchupTest.class);  volatile boolean \
running = true;  
    @Override


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic