Skip to content

Test runtime and complexity is growing#900

Description

@AndreRicardo-Zoetis

This is more of a slight rant/feedback given the difficulties we had in particular with the tests integrating 1.3.0 release. 馃槅

Expected Behavior

Tests used to run in a few seconds (Total Test time (real) = 6.11 sec) in earlier versions.

Current Behavior

Latest builds take (Total Test time (real) = 22.97 sec) to run.

Steps to Reproduce

Provide a detailed set of steps to reproduce the bug.

  1. scripts/build.sh -c -u
  2. cd out; ctest

Device Information

  • Host OS [e.g. Ubuntu 22.04]: Debian 12
  • Architecture [e.g. amd64, arm32, arm64]: amd64
  • Provisioning Method:
  • DU Agent Version (run 'sudo -u adu /usr/bin/AducIotAgent -v'):
    1.3.0, 1.4.0

Logs

Log was too large but you can see the runtime in Microsoft runs, for example here:

https://github.com/Azure/iot-hub-device-update/actions/runs/28186588000/job/83489957762

Additional Information

As far as we are concerned please do not add generated AI tests to increase coverage just for the sake of it, if those tests test no functionality.
We care for correctness and speed, not coverage metric.

Another annoyance is that every time we integrate a Microsoft release, we have to fix these tests to work with our fork.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions