From 1e639fe18a70b06111ad9c3ea261f27794f25f0e Mon Sep 17 00:00:00 2001 From: Michal Vasko Date: Fri, 28 Jun 2024 10:25:03 +0200 Subject: [PATCH] tests BUGFIX sessions are not created for this test --- tests/test_parallel_sessions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_parallel_sessions.c b/tests/test_parallel_sessions.c index cb782b78..45e69046 100644 --- a/tests/test_parallel_sessions.c +++ b/tests/test_parallel_sessions.c @@ -76,7 +76,7 @@ send_get_thread(void *arg) NC_MSG_TYPE msgtype; /* create a NETCONF session */ - nc_sess = nc_connect_unix(targ->st->socket_path, (struct ly_ctx *)nc_session_get_ctx(st->nc_sess2)); + nc_sess = nc_connect_unix(targ->st->socket_path, NULL); assert_non_null(nc_sess); pthread_barrier_wait(&targ->barrier);