Blame SOURCES/0022-ipatests-remove-additional-check-for-failed-units_rhbz#2053025.patch

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