mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix return code test for inactive
This commit is contained in:
parent
85c77e65b0
commit
e1d34cfc7a
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ def test_salt_systemd_inactive_preservation(
|
|||
f"DGM salt_systemd_setup, '{test_item}' systemctl inactive test produced, line '{ret.stdout.strip().split()}', result '{test_active}'",
|
||||
flush=True,
|
||||
)
|
||||
assert ret.returncode == 0
|
||||
assert ret.returncode == 1
|
||||
assert test_active == "inactive"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue