Skip to content

Commit

Permalink
Account for fbsd ENOBUFS during stress test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvossel committed Jul 13, 2013
1 parent 6733dba commit da9548f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/check_ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ s1_msg_process_fn(qb_ipcs_connection_t *c,
res = qb_ipcs_event_send(c, &response,
sizeof(response));
if (res < 0) {
if (res == -EAGAIN) {
if (res == -EAGAIN || res == -ENOBUFS) {
/* yield to the receive process */
usleep(1000);
m--;
Expand Down

0 comments on commit da9548f

Please sign in to comment.