Skip to content

Commit ecb1e78

Browse files
committed
Use fixed value in test
Random value could interfere with other assertions.
1 parent 671e1b1 commit ecb1e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/rabbitmq/client/amqp/impl/SourceFiltersTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ void filterExpressionApplicationProperties() {
363363
int messageCount = 10;
364364
UUID uuid = UUID.randomUUID();
365365
long now = System.currentTimeMillis();
366-
byte[] binary = binaryArbitrary.sample();
366+
byte[] binary = "hello".getBytes(UTF_8);
367367
publish(messageCount, msg -> msg.property("foo", true));
368368
publish(messageCount, msg -> msg.property("foo", 42));
369369
publish(messageCount, msg -> msg.property("foo", 42.1));

0 commit comments

Comments
 (0)