Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/tests/ftest/cart/test_ep_cred_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ static void
rpc_handle_ping_front_q(const struct crt_cb_info *info)
{
DBG_PRINT("Response from front queued rpc\n");
D_ASSERTF(info->cci_rc == 0, "rpc response failed. rc: %d\n",
info->cci_rc);
D_ASSERTF(info->cci_rc == 0, "rpc response failed. rc: %d\n", info->cci_rc);

/* sent_count == resp_count means rpc didn't get queued in the front */
D_ASSERTF(sent_count != resp_count, "Send count matches response count\n");
sem_post(&test.tg_queue_front_token);
}

Expand Down Expand Up @@ -130,8 +132,6 @@ test_run()
D_ASSERTF(rc == 0, "crt_req_send() failed. rc: %d\n", rc);

crtu_sem_timedwait(&test.tg_queue_front_token, 61, __LINE__);
D_ASSERTF(sent_count != resp_count,
"Send count matches response count\n");
}

DBG_PRINT("Waiting for responses to %d rpcs\n",
Expand Down
Loading