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

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