What
Verifies requirements:
Depends on: #172
Configuration:
- Configuration with the following run dependency tree:
Startup - which is the initial run target - depends on component component_initial
component_initial: No dependencies
run_target_a: Depends on run target run_target_c and component component_a
component_a: Depends on component_b
component_b: No dependencies
run_target_c: Depends on component component_d
component_d: No dependencies
Test steps:
- Start Launch Manager process
- Via
score::lcm::ControlClient::ActivateRunTarget(..) activate run_target_a
- 1s after
component_a reports running and run_target_a is activated, via score::lcm::ControlClient::ActivateRunTarget(..) Startup gets activated
Expected behavior:
- Launch Manager is started successfully and Run Target
Startup is activated initially
- After call to
score::lcm::ControlClient::ActivateRunTarget("run_target_a"): All involved components of run_target_a are started in the correct order from bottom up
- After call to
score::lcm::ControlClient::ActivateRunTarget("run_target_initial"): All involved components of run_target_a are stopped in the correct order from top down
Acceptance Criteria (DoD)
Test specification and implementation exists. Test passes.
What
Verifies requirements:
Depends on: #172
Configuration:
Startup- which is the initial run target - depends on componentcomponent_initialcomponent_initial: No dependenciesrun_target_a: Depends on run targetrun_target_cand componentcomponent_acomponent_a: Depends oncomponent_bcomponent_b: No dependenciesrun_target_c: Depends on componentcomponent_dcomponent_d: No dependenciesTest steps:
score::lcm::ControlClient::ActivateRunTarget(..)activaterun_target_acomponent_areports running andrun_target_ais activated, viascore::lcm::ControlClient::ActivateRunTarget(..)Startupgets activatedExpected behavior:
Startupis activated initiallyscore::lcm::ControlClient::ActivateRunTarget("run_target_a"): All involved components ofrun_target_aare started in the correct order from bottom upscore::lcm::ControlClient::ActivateRunTarget("run_target_initial"): All involved components ofrun_target_aare stopped in the correct order from top downAcceptance Criteria (DoD)
Test specification and implementation exists. Test passes.