diff --git a/test/testquorum.c b/test/testquorum.c index 0c4ec6f0..52ae562e 100644 --- a/test/testquorum.c +++ b/test/testquorum.c @@ -55,7 +55,10 @@ int main(int argc, char *argv[]) printf("-------------------\n"); while (1) - quorum_dispatch(g_handle, CS_DISPATCH_ALL); + if (quorum_dispatch(g_handle, CS_DISPATCH_ALL) != CS_OK) { + fprintf(stderr, "Error from quorum_dispatch\n"); + return -1; + } return 0; }