33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
|
From a18eb8358675b3697ccf8f8d8dc230cc62df6a4d Mon Sep 17 00:00:00 2001
|
||
|
From: Erik Belko <ebelko@redhat.com>
|
||
|
Date: Thu, 29 Aug 2024 16:47:21 +0200
|
||
|
Subject: [PATCH] ipatests: Update ipa-adtrust-install test
|
||
|
|
||
|
update test_user_connects_smb_share_if_locked_specific_group with wait
|
||
|
for SSSD to be online after ipa-adtrust-install command
|
||
|
|
||
|
Related: https://pagure.io/freeipa/issue/9655
|
||
|
|
||
|
Signed-off-by: Erik Belko <ebelko@redhat.com>
|
||
|
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
|
||
|
---
|
||
|
ipatests/test_integration/test_adtrust_install.py | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
diff --git a/ipatests/test_integration/test_adtrust_install.py b/ipatests/test_integration/test_adtrust_install.py
|
||
|
index 72e8d874fb17adadc556ba55b825a88a3ac21a67..de252db1705ad940c3b5ee4df967d7c17a4203a7 100644
|
||
|
--- a/ipatests/test_integration/test_adtrust_install.py
|
||
|
+++ b/ipatests/test_integration/test_adtrust_install.py
|
||
|
@@ -853,6 +853,8 @@ class TestIpaAdTrustInstall(IntegrationTest):
|
||
|
self.master.config.admin_password,
|
||
|
"-U"]
|
||
|
)
|
||
|
+ # Wait for SSSD to become online before doing any other check
|
||
|
+ tasks.wait_for_sssd_domain_status_online(self.master)
|
||
|
self.master.run_command(["mkdir", "/freeipa4234"])
|
||
|
self.master.run_command(
|
||
|
["chcon", "-t", "samba_share_t",
|
||
|
--
|
||
|
2.46.0
|
||
|
|