diff --git a/ipatests/test_integration/test_commands.py b/ipatests/test_integration/test_commands.py index 6cf622989..b6ad2439a 100644 --- a/ipatests/test_integration/test_commands.py +++ b/ipatests/test_integration/test_commands.py @@ -645,6 +645,9 @@ class TestIPACommand(IntegrationTest): (datetime.now() - timedelta(seconds=10)).timetuple() ) + # Wait for sssd to be back online, hence test-user to become available + tasks.wait_for_sssd_domain_status_online(self.master) + tasks.run_ssh_cmd( to_host=self.master.external_hostname, username=test_user, auth_method="key", private_key_path=first_priv_key_path