mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: kinit on server for test_proxycommand_invalid_shell
We've seen some intermittent failures of this test with warnings about passwords about to expire. We suspect there may be a time difference between the client and server so set the passwords on the server instead to be sure that time is correct. https://pagure.io/freeipa/issue/8785 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
committed by
Florence Blanc-Renaud
parent
c5e8274010
commit
4f30130697
@@ -1426,10 +1426,10 @@ class TestIPACommand(IntegrationTest):
|
||||
|
||||
user_kinit = "{password}\n{password}\n{password}\n".format(
|
||||
password=password)
|
||||
self.clients[0].run_command([
|
||||
self.master.run_command([
|
||||
'kinit', regular_user],
|
||||
stdin_text=user_kinit)
|
||||
self.clients[0].run_command([
|
||||
self.master.run_command([
|
||||
'kinit', restricted_user],
|
||||
stdin_text=user_kinit)
|
||||
tasks.kdestroy_all(self.clients[0])
|
||||
|
||||
Reference in New Issue
Block a user