Skip to content
Snippets Groups Projects

Backport v2024 <- v2025dev2: Fixes for power cut and out of space tests

Merged Walter Lozano requested to merge apertis/v2025dev2 into apertis/v2024
  1. Mar 06, 2024
  2. Feb 26, 2024
    • Walter Lozano's avatar
      power-cut: Limit max delay used · 134794ed
      Walter Lozano authored
      
      During the power cut test several upgrades are triggered and a delay is
      used to trigger a power cut from LAVA. This delay should only allow the
      upgrade to start but not to finish, as the purpose of the test is to ensure
      that in a power cut AUM does not apply the update.
      
      However, with modern boards delays bigger than 3 sec make the system to
      complete the upgrade and thus making the test to fail.
      
      Workaround this issue by limiting the max delay used. This approach is not
      perfect as it is still not deterministic, but at least should make the test
      more stable. A better approach, taking into account the progress in the update
      should be implemented once this support is included.
      
      Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
      134794ed
Loading