diff --git a/tests/vault/gear/scheduler-service-test.cpp b/tests/vault/gear/scheduler-service-test.cpp index 00784b11d..fb07850f4 100644 --- a/tests/vault/gear/scheduler-service-test.cpp +++ b/tests/vault/gear/scheduler-service-test.cpp @@ -435,21 +435,21 @@ namespace test { post (start+t1ms); // But another schedule is placed 1ms behind sleep_for (100us); // wait for "soon" to pass... pullWork(); - CHECK (wasInvoked(start)); // Result: the first invocation happened immediately + CHECK (wasInvoked(start)); // Result: the first invocation happened immediately CHECK (slip_us < 300); - CHECK (delay_us > 900); // yet this thread was afterwards kept in sleep to await the next task; - CHECK (activity::PASS == res); // returns instruction to re-invoke immediately - CHECK (not scheduler.empty()); // since there is still work in the queue + CHECK (delay_us > 900); // yet this thread was afterwards kept in sleep to await the next task; + CHECK (activity::PASS == res); // returns instruction to re-invoke immediately + CHECK (not scheduler.empty()); // since there is still work in the queue - start += t1ms; // (just re-adjust the reference point to calculate slip_us) - pullWork(); // re-invoke immediately as instructed - CHECK (wasInvoked(start)); // Result: also the next Activity has been dispatched - CHECK (slip_us < 400); // not much slip - CHECK (delay_us < 20200); // ...and the post-delay is used to re-shuffle the sleep cycle as usual - CHECK (activity::PASS == res); // since queue is empty, we will call back once... + start += t1ms; // (just re-adjust the reference point to calculate slip_us) + pullWork(); // re-invoke immediately as instructed + CHECK (wasInvoked(start)); // Result: also the next Activity has been dispatched + CHECK (slip_us < 400); // not much slip + CHECK (delay_us < 20200); // ...and the post-delay is used to re-shuffle the sleep cycle as usual + CHECK (activity::PASS == res); // since queue is empty, we will call back once... CHECK (scheduler.empty()); pullWork(); - CHECK (activity::WAIT == res); // and then go to sleep. + CHECK (activity::WAIT == res); // and then go to sleep. cout << "already tended-next => re-target capacity"< + + + + + + + + + + + + + - - - + + + + + + @@ -91219,12 +91235,24 @@ Date:   Thu Apr 20 18:53:17 2023 +0200
- - - + + + + + + + + + + + + + + + @@ -93336,6 +93364,32 @@ Date:   Thu Apr 20 18:53:17 2023 +0200
+ + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -96052,6 +96106,7 @@ Date:   Thu Apr 20 18:53:17 2023 +0200
+ @@ -96928,6 +96983,7 @@ Date:   Thu Apr 20 18:53:17 2023 +0200
+