From dab732a18c39d13af1770b55d7cef2359ea66412 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Wed, 4 Jul 2018 13:43:46 +0200 Subject: VPP-1335 vapi crash when memclnt_keepalive received Change-Id: If33a7cc6c76147fd3ea9d8118370e7a508819b81 Signed-off-by: Klement Sekera --- test/ext/vapi_c_test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/ext/vapi_c_test.c b/test/ext/vapi_c_test.c index 52a939f72a5..2e5b9e6472c 100644 --- a/test/ext/vapi_c_test.c +++ b/test/ext/vapi_c_test.c @@ -60,7 +60,7 @@ START_TEST (test_invalid_values) rv = vapi_send (ctx, sv); ck_assert_int_eq (VAPI_EINVAL, rv); rv = vapi_connect (ctx, app_name, api_prefix, max_outstanding_requests, - response_queue_size, VAPI_MODE_BLOCKING); + response_queue_size, VAPI_MODE_BLOCKING, true); ck_assert_int_eq (VAPI_OK, rv); rv = vapi_send (ctx, NULL); ck_assert_int_eq (VAPI_EINVAL, rv); @@ -483,7 +483,7 @@ START_TEST (test_connect) vapi_error_e rv = vapi_ctx_alloc (&ctx); ck_assert_int_eq (VAPI_OK, rv); rv = vapi_connect (ctx, app_name, api_prefix, max_outstanding_requests, - response_queue_size, VAPI_MODE_BLOCKING); + response_queue_size, VAPI_MODE_BLOCKING, true); ck_assert_int_eq (VAPI_OK, rv); rv = vapi_disconnect (ctx); ck_assert_int_eq (VAPI_OK, rv); @@ -500,7 +500,7 @@ setup_blocking (void) vapi_error_e rv = vapi_ctx_alloc (&ctx); ck_assert_int_eq (VAPI_OK, rv); rv = vapi_connect (ctx, app_name, api_prefix, max_outstanding_requests, - response_queue_size, VAPI_MODE_BLOCKING); + response_queue_size, VAPI_MODE_BLOCKING, true); ck_assert_int_eq (VAPI_OK, rv); } @@ -510,7 +510,7 @@ setup_nonblocking (void) vapi_error_e rv = vapi_ctx_alloc (&ctx); ck_assert_int_eq (VAPI_OK, rv); rv = vapi_connect (ctx, app_name, api_prefix, max_outstanding_requests, - response_queue_size, VAPI_MODE_NONBLOCKING); + response_queue_size, VAPI_MODE_NONBLOCKING, true); ck_assert_int_eq (VAPI_OK, rv); } -- cgit 1.2.3-korg