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

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