From 4bfbeead0024898b1e2139ec6ed4a877e60980c3 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sun, 10 Jan 2021 15:04:47 +0100 Subject: [PATCH] additional doc --- unittest/tests/datapoollocal/LocalPoolManagerTest.cpp | 2 ++ 1 file changed, 2 insertions(+) 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());