activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [03/11] activemq-artemis git commit: Fix nonexistent property test for bytes
Date Thu, 28 Jul 2016 21:27:10 GMT
Fix nonexistent property test for bytes


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/83adee59
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/83adee59
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/83adee59

Branch: refs/heads/master
Commit: 83adee59b23e2ea985d1e2f4906a2f8beea102ba
Parents: 04eed1b
Author: Ville Skyttä <ville.skytta@iki.fi>
Authored: Thu Jul 28 22:52:11 2016 +0300
Committer: Ville Skyttä <ville.skytta@iki.fi>
Committed: Thu Jul 28 23:30:02 2016 +0300

----------------------------------------------------------------------
 .../activemq/artemis/tests/integration/jms/JmsProducerTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/83adee59/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/JmsProducerTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/JmsProducerTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/JmsProducerTest.java
index 7cf4f18..2aba1c4 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/JmsProducerTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/JmsProducerTest.java
@@ -161,7 +161,7 @@ public class JmsProducerTest extends JMSTestBase {
             byte value1 = producer.getByteProperty("testGetNonExistentProperties");
 
             if (expected == null) {
-               assertEquals("value0: " + value0 + " value1: " + value1, value1 == value0);
+               assertTrue("value0: " + value0 + " value1: " + value1, value1 == value0);
             }
             else {
                fail("non existent byte property expects exception, but got value: " + value1);


Mime
View raw message