Skip to content

Commit

Permalink
reduced process_stream_to_message_ratio for unit-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RalphSteinhagen committed Jul 15, 2024
1 parent d1f5add commit 4898b42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/test/qa_Messages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@ const boost::ut::suite MessagesTests = [] {
gr::MsgPortOut toScheduler;
gr::MsgPortIn fromScheduler;
auto scheduler = scheduler::Simple<SchedulerPolicy::value>(std::move(flow));
scheduler.settings().set({{"process_stream_to_message_ratio", 1UZ}});
scheduler.settings().applyStagedParameters()
scheduler.settings().storeDefaults();

expect(eq(ConnectionResult::SUCCESS, toScheduler.connect(scheduler.msgIn)));
expect(eq(ConnectionResult::SUCCESS, scheduler.msgOut.connect(fromScheduler)));
Expand Down

0 comments on commit 4898b42

Please sign in to comment.