What
Verifies requirements:
Depends on: #172
Configuration:
Extend config in FIT: Launch initial run target #172 by
Run Target run_target_app_does_report_krunning_in_time which contains a Component component_does_report_krunning_in_time
Run Target run_target_app_does_not_report_krunning_in_time which contains a Component component_does_not_report_krunning_in_time
Recovery Action on run_target_app_does_not_report_krunning_in_time configured to switch to Run Target Startup
The process involved in component_does_report_krunning_in_time does report kRunning in time (500ms below boundary)
The process involved in component_does_not_report_krunning_in_time does not report kRunning in time (500ms above boundary)
Test steps:
Start Launch Manager process
Via score::lcm::ControlClient::ActivateRunTarget(..) activate run_target_app_does_report_krunning_in_time
Via score::lcm::ControlClient::ActivateRunTarget(..) activate run_target_app_does_not_report_krunning_in_time
Expected behavior:
Launch Manager is started successfully and Run Target Startup is activated initially
Run Target run_target_app_does_report_krunning_in_time is activated
Run Target run_target_app_does_not_report_krunning_in_time can not be activated
Recovery Action is executed and Run Target Startup is activated
Acceptance Criteria (DoD)
Test specification and implementation exists. Test passes.
What
Verifies requirements:
Depends on: #172
Configuration:
run_target_app_does_report_krunning_in_timewhich contains a Componentcomponent_does_report_krunning_in_timerun_target_app_does_not_report_krunning_in_timewhich contains a Componentcomponent_does_not_report_krunning_in_timerun_target_app_does_not_report_krunning_in_timeconfigured to switch to Run TargetStartupcomponent_does_report_krunning_in_timedoes report kRunning in time (500ms below boundary)component_does_not_report_krunning_in_timedoes not report kRunning in time (500ms above boundary)Test steps:
score::lcm::ControlClient::ActivateRunTarget(..)activaterun_target_app_does_report_krunning_in_timescore::lcm::ControlClient::ActivateRunTarget(..)activaterun_target_app_does_not_report_krunning_in_timeExpected behavior:
Startupis activated initiallyrun_target_app_does_report_krunning_in_timeis activatedrun_target_app_does_not_report_krunning_in_timecan not be activatedStartupis activatedAcceptance Criteria (DoD)
Test specification and implementation exists. Test passes.