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

Tidy up udev tests #3542

Merged
merged 5 commits into from
Feb 7, 2024
Merged

Commits on Feb 7, 2024

  1. Remove redundant remove_stratis_dm_devices()

    The _clean_up method always throws one of these in, so there is no point
    in doing it at the end of the test.
    
    Signed-off-by: mulhern <[email protected]>
    mulkieran committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    3e0f383 View commit details
    Browse the repository at this point in the history
  2. Remove remove_stratis_dm_devices entirely

    It can be made redundant by having remove_stratis_setup raise an
    exception if there are still devices remaining. Also, this supports
    slightly better encapsulation.
    
    Signed-off-by: mulhern <[email protected]>
    mulkieran committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    0a8578d View commit details
    Browse the repository at this point in the history
  3. Set timeout of 30 sec after interrupt signal sent

    Without, the test will wait indefinitely for stratisd to handle the
    signal.
    
    Signed-off-by: mulhern <[email protected]>
    mulkieran committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    afea88e View commit details
    Browse the repository at this point in the history
  4. Kill stratisd process if a terminate has not worked

    Signed-off-by: mulhern <[email protected]>
    mulkieran committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    4c54c3b View commit details
    Browse the repository at this point in the history
  5. Add some Python logging in test infrastructure

    Signed-off-by: mulhern <[email protected]>
    mulkieran committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    4db2c99 View commit details
    Browse the repository at this point in the history