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

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