You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2020/09/16 13:59:33 UTC
[activemq-artemis] branch master updated: ARTEMIS-2902 Fixing
QueueControlUsingCoreTest Class Cast Exception on Long to Integer
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 3e557f1 ARTEMIS-2902 Fixing QueueControlUsingCoreTest Class Cast Exception on Long to Integer
3e557f1 is described below
commit 3e557f107092de14e7cac2e4ac0828d54b72fd7d
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Wed Sep 16 09:56:41 2020 -0400
ARTEMIS-2902 Fixing QueueControlUsingCoreTest Class Cast Exception on Long to Integer
---
.../artemis/tests/integration/management/QueueControlUsingCoreTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlUsingCoreTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlUsingCoreTest.java
index d8dce71..85ed6e3 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlUsingCoreTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/QueueControlUsingCoreTest.java
@@ -52,7 +52,7 @@ public class QueueControlUsingCoreTest extends QueueControlTest {
@Override
public int getPreparedTransactionMessageCount() {
try {
- return (Integer) proxy.invokeOperation("getPreparedTransactionMessageCount");
+ return (Integer) proxy.invokeOperation(Integer.class, "getPreparedTransactionMessageCount");
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}