]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3297] Fixed broken test
authorThomas Markwalder <tmark@isc.org>
Wed, 3 Apr 2024 15:19:24 +0000 (11:19 -0400)
committerThomas Markwalder <tmark@isc.org>
Wed, 3 Apr 2024 15:19:24 +0000 (11:19 -0400)
modified:   monitored_duration_store_unittests.cc

src/hooks/dhcp/perfmon/tests/monitored_duration_store_unittests.cc

index 1183af354cabf8539889ff05b624d8ef8cc9df95..98491cb8884542959e2c47b1771cf1005322e852 100644 (file)
@@ -546,8 +546,8 @@ public:
 
         // Make multiple calls to addDurationSample() for each key, starting with key1.
         for (int i = 0; i < 4; ++i) {
-            ASSERT_NO_THROW_LOG(mond = store.addDurationSample(key1, milliseconds(1)));
-            ASSERT_NO_THROW_LOG(mond = store.addDurationSample(key2, milliseconds(2)));
+            ASSERT_NO_THROW_LOG(store.addDurationSample(key1, milliseconds(1)));
+            ASSERT_NO_THROW_LOG(store.addDurationSample(key2, milliseconds(2)));
         }
 
         // Get all should retrieve all four in ascending order.