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

tests/common/util: Add possibility to set timeout for UCommand and UChild. Add rstest with timeout macro to dev dependencies #4231

Merged
merged 3 commits into from
Dec 23, 2022

Commits on Dec 17, 2022

  1. tests: Add rstest crate with timeout macro, parameterized tests etc. …

    …to development dependencies
    Joining7943 committed Dec 17, 2022
    Configuration menu
    Copy the full SHA
    83725d1 View commit details
    Browse the repository at this point in the history
  2. tests/util: Add setting timeout for UChild::kill and run and wait met…

    …hods in UCommand and UChild.
    
    Additional notes:
    * Set default timeout to 30s
    * Fix UChild::kill to always fail on timeout if zero
    Joining7943 committed Dec 17, 2022
    Configuration menu
    Copy the full SHA
    1d7447d View commit details
    Browse the repository at this point in the history
  3. tests: Set timeout for tests which would fail with the default timeou…

    …t in test_factor, test_sort
    Joining7943 committed Dec 17, 2022
    Configuration menu
    Copy the full SHA
    09c04d9 View commit details
    Browse the repository at this point in the history