diff options
author | Tomas Babej <tbabej@redhat.com> | 2014-02-05 09:07:45 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-02-10 10:37:29 +0100 |
commit | 99facb753a634f63df5250a8decbf53d13d955bb (patch) | |
tree | edbab381554d81261ff194c3cb5090a433952f29 | |
parent | 01a0249a40784d15e5ffc217c7626242e0a0045f (diff) | |
download | freeipa-99facb753a634f63df5250a8decbf53d13d955bb.tar.gz freeipa-99facb753a634f63df5250a8decbf53d13d955bb.tar.xz freeipa-99facb753a634f63df5250a8decbf53d13d955bb.zip |
ipatests: Make sure we re-kinit as admin before adding the disabledipauser
When we add the disabledipauser during the setup class part of the
BaseTestLegacyClient, we need to make sure that we re-kinit admin
since we do ntpsync with the AD just before that, which can render
the previous ticket invalid.
Reviewed-By: Nathaniel McCallum <npmccallum@redhat.com>
-rw-r--r-- | ipatests/test_integration/test_legacy_clients.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipatests/test_integration/test_legacy_clients.py b/ipatests/test_integration/test_legacy_clients.py index b4fd13175..4eac83e8d 100644 --- a/ipatests/test_integration/test_legacy_clients.py +++ b/ipatests/test_integration/test_legacy_clients.py @@ -221,6 +221,8 @@ class BaseTestLegacyClient(object): def install(cls): super(BaseTestLegacyClient, cls).install() + tasks.kinit_admin(cls.master) + password_confirmation = ( cls.master.config.admin_password + '\n' + |