deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject deltaspike git commit: more asserts to track down random failure
Date Tue, 09 May 2017 10:07:27 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master e2b54d4db -> 6b49da426


more asserts to track down random failure


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/6b49da42
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/6b49da42
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/6b49da42

Branch: refs/heads/master
Commit: 6b49da4269a8553c941002d8df68998f6144767f
Parents: e2b54d4
Author: Mark Struberg <struberg@apache.org>
Authored: Tue May 9 12:07:10 2017 +0200
Committer: Mark Struberg <struberg@apache.org>
Committed: Tue May 9 12:07:10 2017 +0200

----------------------------------------------------------------------
 .../deltaspike/test/core/impl/jmx/SimpleRegistrationTest.java       | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/6b49da42/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/jmx/SimpleRegistrationTest.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/jmx/SimpleRegistrationTest.java
b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/jmx/SimpleRegistrationTest.java
index 8bcaa2c..a8ac369 100644
--- a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/jmx/SimpleRegistrationTest.java
+++ b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/impl/jmx/SimpleRegistrationTest.java
@@ -80,6 +80,7 @@ public abstract class SimpleRegistrationTest {
         MBeanOperationInfo[] operations = mBeanInfo.getOperations();
         Assert.assertNotNull(operations);
         Assert.assertTrue(operations.length > 0);
+        Assert.assertTrue("Empty Signature on operation: " + operations[0], operations[0].getSignature().length
> 0);
         MBeanParameterInfo parameterInfo = operations[0].getSignature()[0];
         assertEquals("multiplier", parameterInfo.getName());
         assertEquals("the multiplier", parameterInfo.getDescription());


Mime
View raw message