diff options
author | Florin Coras <fcoras@cisco.com> | 2018-09-07 14:32:58 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-09-08 12:12:13 +0000 |
commit | de9f08b0302d5b4cdc8fbfeb9a9585f46e8314f2 (patch) | |
tree | 563b654d8337e5502f994b33fd08a361a46c2df3 /src/vcl/vcl_test_server.c | |
parent | da3eec1672d66131ec85f8420f4df070e6cf326d (diff) |
vcl: register workers in order
Change-Id: Ibc74e7f7587f8b17fc0dcec20cc4530b9dd4c3ca
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vcl/vcl_test_server.c')
-rw-r--r-- | src/vcl/vcl_test_server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vcl/vcl_test_server.c b/src/vcl/vcl_test_server.c index 8d97d0cfaa6..2fdd7ec157d 100644 --- a/src/vcl/vcl_test_server.c +++ b/src/vcl/vcl_test_server.c @@ -467,7 +467,8 @@ vts_worker_init (vcl_test_server_worker_t * wrk) conn_pool_expand (wrk, SOCK_SERVER_MAX_TEST_CONN + 1); if (wrk->wrk_index) - vppcom_worker_register (); + if (vppcom_worker_register ()) + vtfail ("vppcom_worker_register()", 1); wrk->listen_fd = vppcom_session_create (ssm->cfg.proto, 0 /* is_nonblocking */ ); |