diff --git a/unittest/tests/datapoollocal/LocalPoolManagerTest.cpp b/unittest/tests/datapoollocal/LocalPoolManagerTest.cpp index 2ea169b29..f497e6101 100644 --- a/unittest/tests/datapoollocal/LocalPoolManagerTest.cpp +++ b/unittest/tests/datapoollocal/LocalPoolManagerTest.cpp @@ -66,6 +66,8 @@ TEST_CASE("LocalPoolManagerTest" , "[LocManTest]") { } SECTION("AdvancedTests") { + // we need to reset the subscription list because the pool owner + // is a global object. poolOwner->resetSubscriptionList(); // Subscribe for variable update as well REQUIRE(not poolOwner->dataset.hasChanged());