From c2ddaed28ecdae7742eb90d670ef0a9ef463c2ee Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Wed, 18 Oct 2023 18:10:10 +0200 Subject: [PATCH] Scheduler: draft scenario for Layer-2 integration test Idea: re-use the scenario and instrumentation from SchedulerActivity_test::scenario_RenderJob() --- .../vault/gear/scheduler-commutator-test.cpp | 54 +++++++++-- wiki/thinkPad.ichthyo.mm | 93 +++++++++++++++++-- 2 files changed, 130 insertions(+), 17 deletions(-) diff --git a/tests/vault/gear/scheduler-commutator-test.cpp b/tests/vault/gear/scheduler-commutator-test.cpp index 6967a85b8..b128394fe 100644 --- a/tests/vault/gear/scheduler-commutator-test.cpp +++ b/tests/vault/gear/scheduler-commutator-test.cpp @@ -91,12 +91,12 @@ namespace test { virtual void run (Arg) { - demonstrateSimpleUsage(); - verify_GroomingToken(); - torture_GroomingToken(); - verify_DispatchDecision(); - verify_findWork(); - verify_postDispatch(); +// demonstrateSimpleUsage(); +// verify_GroomingToken(); +// torture_GroomingToken(); +// verify_DispatchDecision(); +// verify_findWork(); +// verify_postDispatch(); integratedWorkCycle(); } @@ -412,13 +412,51 @@ namespace test { /** @test TODO build the integrated sequence of worker activation + * - use the Render-Job scenario from SchedulerActivity_test::scenario_RenderJob() + * - use similar instrumentation to trace Activities * @todo WIP 10/23 🔁 define ⟶ implement */ void integratedWorkCycle() { - UNIMPLEMENTED ("integratedWorkCycle"); -// cout << detector.showLog()< - - - - - - + + + + - - + + + + + + + + + + + + @@ -86377,9 +86385,76 @@ Date:   Thu Apr 20 18:53:17 2023 +0200
- + + + + + + + + + + + +

+ aber das ganze Geschehen einmal durchspielen +

+ + +
+
+ + + + + + + + + + + + + + + + + + + +

+ Activity-Term präparieren wie im SchedulerActivity_test::scenario_RenderJob() +

+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + +