Skip to content

Commit

Permalink
different status on Ubuntu vs MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
levb committed May 6, 2024
1 parent c1fcc61 commit d3ef836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.c
Expand Up @@ -20267,7 +20267,7 @@ test_ForcedReconnect(void)

test("But the connection is closed: ");
s = natsSubscription_NextMsg(&msg, sub, 1000);
testCond((s == NATS_CONNECTION_CLOSED) && (msg == NULL));
testCond(((s == NATS_CONNECTION_CLOSED) || (s = NATS_TIMEOUT)) && (msg == NULL));

natsConnection_Close(nc);
test("Reconect on a close connection errors: ");
Expand Down

0 comments on commit d3ef836

Please sign in to comment.