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

vavrtom pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git


The following commit(s) were added to refs/heads/main by this push:
     new 777dab25b1 QPID-8664: [Broker-J] Fixed failing SimpleConversionTest 
(related to 3/10) (#282)
777dab25b1 is described below

commit 777dab25b11a2eb28fc9e4298046bd0cb7005d58
Author: Daniil Kirilyuk <daniel.kiril...@gmail.com>
AuthorDate: Wed Apr 23 10:08:31 2025 +0200

    QPID-8664: [Broker-J] Fixed failing SimpleConversionTest (related to 3/10) 
(#282)
---
 .../qpid/systests/end_to_end_conversion/SimpleConversionTest.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/systests/end-to-end-conversion-tests/src/test/java/org/apache/qpid/systests/end_to_end_conversion/SimpleConversionTest.java
 
b/systests/end-to-end-conversion-tests/src/test/java/org/apache/qpid/systests/end_to_end_conversion/SimpleConversionTest.java
index f7d873a075..55da988931 100644
--- 
a/systests/end-to-end-conversion-tests/src/test/java/org/apache/qpid/systests/end_to_end_conversion/SimpleConversionTest.java
+++ 
b/systests/end-to-end-conversion-tests/src/test/java/org/apache/qpid/systests/end_to_end_conversion/SimpleConversionTest.java
@@ -28,6 +28,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assumptions.assumeFalse;
 import static org.junit.jupiter.api.Assumptions.assumeTrue;
 
+import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.EnumSet;
 import java.util.HashMap;
@@ -122,8 +123,8 @@ public class SimpleConversionTest extends 
EndToEndConversionTestBase
     {
         final MessageDescription messageDescription = new MessageDescription();
         
messageDescription.setMessageType(MessageDescription.MessageType.STREAM_MESSAGE);
-        messageDescription.setContent(Arrays.asList(true, (byte) -7, (short) 
259, Integer.MAX_VALUE, Long.MAX_VALUE,
-                37.5f, 38.5, "testString", null, new byte[]{ 0x24, 0x00, 
(byte) 0xFF }));
+        messageDescription.setContent(new ArrayList<>(Arrays.asList(true, 
(byte) -7, (short) 259, Integer.MAX_VALUE,
+                Long.MAX_VALUE, 37.5f, 38.5, "testString", null, new byte[]{ 
0x24, 0x00, (byte) 0xFF })));
 
         performSimpleTest(messageDescription);
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to