dispatcher: boot: deptcharge: Add ResetConnection function
Instead of connecting the device, the ResetConnection function
will be used to perform a reset of the console on retries.
Thanks to that, the console will be reset each time a retry is
performed. On the first try, the disconnet will not be done as
the console is not connected.
Signed-off-by: Mylène Josserand <mylene.josserand@collabora.com>
Showing
- lava_dispatcher/actions/boot/depthcharge.py 2 additions, 2 deletionslava_dispatcher/actions/boot/depthcharge.py
- tests/lava_dispatcher/pipeline_refs/depthcharge.yaml 5 additions, 1 deletiontests/lava_dispatcher/pipeline_refs/depthcharge.yaml
- tests/lava_dispatcher/test_depthcharge.py 7 additions, 2 deletionstests/lava_dispatcher/test_depthcharge.py
Loading
Please register or sign in to comment