From e025f3c2f13576bbbe1f5b29ddd6be4974a00849 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Fri, 12 Apr 2024 07:37:04 -0400 Subject: [PATCH] only: we have a relevant parameter --- unit_tests/test-framework/global_execution_queue.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unit_tests/test-framework/global_execution_queue.cpp b/unit_tests/test-framework/global_execution_queue.cpp index cb281cdb94..03264fd079 100644 --- a/unit_tests/test-framework/global_execution_queue.cpp +++ b/unit_tests/test-framework/global_execution_queue.cpp @@ -25,7 +25,7 @@ void TestExecutor::scheduleForLater(const char *msg, scheduling_s *scheduling, i return; } - scheduleByTimestamp("test", scheduling, getTimeNowUs() + delayUs, action); + scheduleByTimestamp(msg, scheduling, getTimeNowUs() + delayUs, action); } int TestExecutor::executeAll(efitick_t now) { @@ -54,7 +54,7 @@ void TestExecutor::scheduleByTimestamp(const char *msg, scheduling_s *scheduling } if (m_mockExecutor) { - m_mockExecutor->scheduleByTimestamp("test", scheduling, timeUs, action); + m_mockExecutor->scheduleByTimestamp(msg, scheduling, timeUs, action); return; } @@ -67,7 +67,7 @@ void TestExecutor::scheduleByTimestampNt(const char *msg, scheduling_s* scheduli return; } - scheduleByTimestamp("test", scheduling, NT2US(timeNt), action); + scheduleByTimestamp(msg, scheduling, NT2US(timeNt), action); } void TestExecutor::cancel(scheduling_s* s) {