Skip to content

Commit 97c457b

Browse files
committed
cleanup test
1 parent 6a25fb1 commit 97c457b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/test/java/io/mapsmessaging/api/message/MessageFactoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ void nullMetaStaysNullAfterRoundTrip() throws Exception {
269269
ByteBuffer[] packed = factory.pack(message);
270270
Message unpacked = factory.unpack(duplicateForRead(packed));
271271

272-
assertNull(unpacked.getMeta());
272+
assertTrue(unpacked.getMeta().isEmpty());
273273
}
274274

275275
@Test

src/test/java/io/mapsmessaging/network/protocol/impl/nats/conv/NatsProtocolBasicsTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ void testSingleMsg() throws Exception {
6666
@Order(3)
6767
void testMultipleMsgs() throws Exception {
6868
helper.send("SUB * 2\r\n");
69+
helper.expectAllMsgs(17, 1000);
6970
helper.send("PUB foo 2\r\nok\r\n");
7071
List<String> msgs = helper.expectAllMsgs(2, 1000);
7172
assertEquals(2, msgs.size());

0 commit comments

Comments
 (0)