File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/test/java/io/mapsmessaging
network/protocol/impl/nats/conv Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 \n ok\r \n " );
7071 List <String > msgs = helper .expectAllMsgs (2 , 1000 );
7172 assertEquals (2 , msgs .size ());
You can’t perform that action at this time.
0 commit comments