Skip to content

Commit

Permalink
removed debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
levb committed May 3, 2024
1 parent a5e99d3 commit e5a31f3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -12047,17 +12047,12 @@ test_RequestTimeout(void)
natsMsg *msg = NULL;
natsPid serverPid = NATS_INVALID_PID;

printf("<>/<> 1\n");
serverPid = _startServer("nats://127.0.0.1:4222", NULL, true);
CHECK_SERVER_STARTED(serverPid);

test("Test Request should timeout: ")
s = natsConnection_ConnectTo(&nc, NATS_DEFAULT_URL);
printf("<>/<> 2: %d\n", s);

IFOK(s, natsConnection_RequestString(&msg, nc, "foo", "bar", 500));
printf("<>/<> 3: %d\n", s);

testCond(serverVersionAtLeast(2, 2, 0) ? (s == NATS_NO_RESPONDERS) : (s == NATS_TIMEOUT));

natsConnection_Destroy(nc);
Expand Down

0 comments on commit e5a31f3

Please sign in to comment.