diff --git a/userspace/libsinsp/test/container_engine/container_parser_cri_containerd.ut.cpp b/userspace/libsinsp/test/container_engine/container_parser_cri_containerd.ut.cpp index 1a510cb8ee..cf89a40df3 100644 --- a/userspace/libsinsp/test/container_engine/container_parser_cri_containerd.ut.cpp +++ b/userspace/libsinsp/test/container_engine/container_parser_cri_containerd.ut.cpp @@ -577,7 +577,6 @@ TEST_F(sinsp_with_test_input, container_parser_cri_containerd) const auto &resp_container = resp.status(); const auto &resp_container_info = resp.info(); const auto &resp_sandbox_container = resp_pod.status(); - const auto &resp_sandbox_container_info = resp_pod.info(); std::shared_ptr container_ptr = std::make_shared(); // explicit reference to mimic actual code flow and test sub parser functions sinsp_container_info &container = *container_ptr; diff --git a/userspace/libsinsp/test/container_engine/container_parser_cri_crio.ut.cpp b/userspace/libsinsp/test/container_engine/container_parser_cri_crio.ut.cpp index af8fd9e4b1..ec2eef9c52 100644 --- a/userspace/libsinsp/test/container_engine/container_parser_cri_crio.ut.cpp +++ b/userspace/libsinsp/test/container_engine/container_parser_cri_crio.ut.cpp @@ -569,7 +569,6 @@ TEST_F(sinsp_with_test_input, container_parser_cri_crio) const auto &resp_container = resp.status(); const auto &resp_container_info = resp.info(); const auto &resp_sandbox_container = resp_pod.status(); - const auto &resp_sandbox_container_info = resp_pod.info(); std::shared_ptr container_ptr = std::make_shared(); // explicit reference to mimic actual code flow and test sub parser functions sinsp_container_info &container = *container_ptr;