diff options
-rw-r--r-- | tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.hpp | 2 | ||||
-rw-r--r-- | tests/profiling/gatordmock/tests/GatordMockTests.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.hpp b/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.hpp index 05539a4073..4135a2fb06 100644 --- a/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.hpp +++ b/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.hpp @@ -37,7 +37,7 @@ public: PeriodicCounterCaptureCommandHandler(uint32_t familyId, uint32_t packetId, uint32_t version, - bool quietOperation = true) + bool quietOperation = false) : CommandHandlerFunctor(familyId, packetId, version) , m_QuietOperation(quietOperation) {} diff --git a/tests/profiling/gatordmock/tests/GatordMockTests.cpp b/tests/profiling/gatordmock/tests/GatordMockTests.cpp index eb4b1783a4..f5e60f83b2 100644 --- a/tests/profiling/gatordmock/tests/GatordMockTests.cpp +++ b/tests/profiling/gatordmock/tests/GatordMockTests.cpp @@ -103,7 +103,7 @@ BOOST_AUTO_TEST_CASE(CounterCaptureHandlingTest) profiling::Packet packet2(headerWord1, dataLength, uniqueData2); uint32_t version = 1; - gatordmock::PeriodicCounterCaptureCommandHandler commandHandler(0, 4, version, false); + gatordmock::PeriodicCounterCaptureCommandHandler commandHandler(0, 4, version, true); // Simulate two separate packets coming in to calculate period commandHandler(packet1); @@ -129,7 +129,7 @@ BOOST_AUTO_TEST_CASE(GatorDMockEndToEnd) profiling::CommandHandlerRegistry registry; // Update with derived functors - gatordmock::PeriodicCounterCaptureCommandHandler counterCaptureCommandHandler(0, 4, version, false); + gatordmock::PeriodicCounterCaptureCommandHandler counterCaptureCommandHandler(0, 4, version, true); // Register different derived functors registry.RegisterFunctor(&counterCaptureCommandHandler); |