diff options
author | Thomas Markwalder <tmark@isc.org> | 2024-02-22 22:57:42 +0100 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2024-02-23 13:08:04 +0100 |
commit | d5d4643378cf60d1e683b7ff48328b9412e59618 (patch) | |
tree | d0575741c75561df100ea20705148c2b2bc00538 | |
parent | [#3245] Wordiing fix (diff) | |
download | kea-d5d4643378cf60d1e683b7ff48328b9412e59618.tar.xz kea-d5d4643378cf60d1e683b7ff48328b9412e59618.zip |
[#3245] Minor UT change
modified: src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc
-rw-r--r-- | src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc b/src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc index c85bd3631a..73049a9d8d 100644 --- a/src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc +++ b/src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc @@ -42,7 +42,7 @@ TEST(DurationDataInterval, basics) { // Verify that start time can be specified. interval.reset(new DurationDataInterval(start_time + milliseconds(5000))); ASSERT_TRUE(interval); - EXPECT_GE(interval->getStartTime() - start_time, milliseconds(5000)); + EXPECT_EQ(interval->getStartTime() - start_time, milliseconds(5000)); // Add 100ms duration and check contents. Duration d100(milliseconds(100)); |