Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HIL: adjust OTA test timing #483

Merged
merged 2 commits into from
May 21, 2024
Merged

HIL: adjust OTA test timing #483

merged 2 commits into from
May 21, 2024

Commits on May 7, 2024

  1. hil: ota: use semaphores for better performance

    Use semaphores to trigger tests and decrease loop delay from 1000ms to
    100ms.
    
    Signed-off-by: Mike Szczys <mike@golioth.io>
    szczys committed May 7, 2024
    Configuration menu
    Copy the full SHA
    e4b2ff6 View commit details
    Browse the repository at this point in the history
  2. hil: ota: adjust delays to reduce false negative

    When testing reason and state codes, propagation delay from the device to
    the server were causing erroneous test failures. This increases the delay
    before checking the updated server value, and also increases the device
    delay between sending reason/state updates. The marginal difference is 2s
    per reason code, or 20 seconds total increase in test time.
    
    Signed-off-by: Mike Szczys <mike@golioth.io>
    szczys committed May 7, 2024
    Configuration menu
    Copy the full SHA
    4f1e82f View commit details
    Browse the repository at this point in the history