Skip to content

Commit

Permalink
#2389: trace: bypass special new case in test to make it pass
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Feb 14, 2025
1 parent 04dbb51 commit 0f523e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit/trace/test_runnable_context_trace.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ TEST_F(TestRunnableContextTrace, runnable_context_trace_test_1) {

HandlerManager::setHandlerTrace(handler, true);

// Avoid special case in test, where we tell the trace component that we are
// in a direct invoke context to avoid the scheduler creating
// 'between-scheduler' events
theTrace()->setInInvokeContext(true);

// Give some nonsense parameters but Trace shouldn't touch them
auto t = ctx::Trace( msg, /* in_trace_event */ 7,
handler, /* in_from_node */ 3,
Expand Down

0 comments on commit 0f523e8

Please sign in to comment.