IVGCVSW-4171 Fix intermittent failure on FileOnlyProfilingDecoratorTests
* Added destructor to prevent hanging after raising an error
* Enhanced timeouts to prevent test from failing
Signed-off-by: janeil01 <jan.eilers@arm.com>
Change-Id: Ibf137835040edc51348d70ff67d27ef3fffac15b
diff --git a/src/profiling/ProfilingService.hpp b/src/profiling/ProfilingService.hpp
index f9b057c..dd75d05 100644
--- a/src/profiling/ProfilingService.hpp
+++ b/src/profiling/ProfilingService.hpp
@@ -179,7 +179,7 @@
// Register the "Per-Job Counter Selection" command handler
m_CommandHandlerRegistry.RegisterFunctor(&m_PerJobCounterSelectionCommandHandler);
}
- ~ProfilingService() = default;
+ ~ProfilingService();
// Protected methods for testing
void SwapProfilingConnectionFactory(ProfilingService& instance,