From 343e90e40cae5d5d775424508650c981af84a9c4 Mon Sep 17 00:00:00 2001 From: Trent Houliston Date: Wed, 7 Aug 2024 10:41:51 +1000 Subject: [PATCH] Fix idle test --- tests/tests/dsl/Idle.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tests/dsl/Idle.cpp b/tests/tests/dsl/Idle.cpp index e2a86a2b..b9e030b7 100644 --- a/tests/tests/dsl/Idle.cpp +++ b/tests/tests/dsl/Idle.cpp @@ -59,7 +59,7 @@ class TestReactor : public test_util::TestBase { on>>().then([this] { do_step<1>("Default Startup"); }); on>>().then([this] { do_step<2>("Default Step"); }); on>>().then([this] { do_step<3>("Default Step"); }); - drh = on>>().then([this] { do_step<4>("Default Idle"); }); + drh = on>, Pool<>>().then([this] { do_step<4>("Default Idle"); }); on>>().then([this] { do_step<5>("Default Step"); }); on>>().then([this] { do_step<6>("Default Step"); }); on>>().then([this] { do_step<7>("Default Step"); }); @@ -69,7 +69,7 @@ class TestReactor : public test_util::TestBase { on>, MainThread>().then([this] { do_step<9>("Main Startup"); }); on>, MainThread>().then([this] { do_step<10>("Main Step"); }); on>, MainThread>().then([this] { do_step<11>("Main Step"); }); - mrh = on>().then([this] { do_step<12>("Main Idle"); }); + mrh = on, MainThread>().then([this] { do_step<12>("Main Idle"); }); on>, MainThread>().then([this] { do_step<13>("Main Step"); }); on>, MainThread>().then([this] { do_step<14>("Main Step"); }); on>, MainThread>().then([this] { do_step<15>("Main Step"); }); @@ -79,7 +79,7 @@ class TestReactor : public test_util::TestBase { on>, Pool>>().then([this] { do_step<17>("Custom<1> Startup"); }); on>, Pool>>().then([this] { do_step<18>("Custom<1> Step"); }); on>, Pool>>().then([this] { do_step<19>("Custom<1> Step"); }); - crh = on>>>().then([this] { do_step<20>("Custom<1> Idle"); }); + crh = on>>, Pool>>().then([this] { do_step<20>("Custom<1> Idle"); }); on>, Pool>>().then([this] { do_step<21>("Custom<1> Step"); }); on>, Pool>>().then([this] { do_step<22>("Custom<1> Step"); }); on>, Pool>>().then([this] { do_step<23>("Custom<1> Step"); }); @@ -89,7 +89,7 @@ class TestReactor : public test_util::TestBase { on>, Pool>>().then([this] { do_step<25>("Custom<2> Startup"); }); on>, Pool>>().then([this] { do_step<26>("Custom<2> Step"); }); on>, Pool>>().then([this] { do_step<27>("Custom<2> Step"); }); - grh = on>().then([this] { do_step<28>("Global Idle"); }); + grh = on, Pool>>().then([this] { do_step<28>("Global Idle"); }); on>, Pool>>().then([this] { do_step<29>("Custom<2> Step"); }); on>, Pool>>().then([this] { do_step<30>("Custom<2> Step"); }); on>, Pool>>().then([this] { do_step<31>("Custom<2> Step"); });