diff --git a/userspace/libsinsp/test/async_key_value_source.ut.cpp b/userspace/libsinsp/test/async_key_value_source.ut.cpp index 183bd80fa6..8410c7a8fc 100644 --- a/userspace/libsinsp/test/async_key_value_source.ut.cpp +++ b/userspace/libsinsp/test/async_key_value_source.ut.cpp @@ -219,6 +219,8 @@ TEST(async_key_value_source_test, get_complete_results_incomplete) EXPECT_EQ(1, completed.size()); EXPECT_EQ(metadata, completed[key1]); + + source.stop(); } /**