Blame SOURCES/0010-ipatests-remove-additional-check-for-failed-units_rhbz#2053024.patch

b7b64b
From b36bcf4ea5ed93baa4dc63f8e2be542d678211fb Mon Sep 17 00:00:00 2001
b7b64b
From: Anuja More <amore@redhat.com>
b7b64b
Date: Thu, 10 Feb 2022 18:49:06 +0530
b7b64b
Subject: [PATCH] ipatests: remove additional check for failed units.
b7b64b
b7b64b
On RHEL tests are randomly failing because of this check
b7b64b
and the test doesn't need to check this.
b7b64b
b7b64b
Related : https://pagure.io/freeipa/issue/9108
b7b64b
b7b64b
Signed-off-by: Anuja More <amore@redhat.com>
b7b64b
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
b7b64b
---
b7b64b
 ipatests/test_integration/test_otp.py | 1 -
b7b64b
 1 file changed, 1 deletion(-)
b7b64b
b7b64b
diff --git a/ipatests/test_integration/test_otp.py b/ipatests/test_integration/test_otp.py
b7b64b
index d8ce527ca..6e70ddcb3 100644
b7b64b
--- a/ipatests/test_integration/test_otp.py
b7b64b
+++ b/ipatests/test_integration/test_otp.py
b7b64b
@@ -316,7 +316,6 @@ class TestOTPToken(IntegrationTest):
b7b64b
         check_services = self.master.run_command(
b7b64b
             ['systemctl', 'list-units', '--state=failed']
b7b64b
         )
b7b64b
-        assert "0 loaded units listed" in check_services.stdout_text
b7b64b
         assert "ipa-otpd" not in check_services.stdout_text
b7b64b
         # Be sure no services are running and failed units
b7b64b
         self.master.run_command(['killall', 'ipa-otpd'], raiseonerr=False)
b7b64b
-- 
b7b64b
2.34.1
b7b64b