diff options
author | Martin Basti <mbasti@redhat.com> | 2016-10-13 17:12:23 +0200 |
---|---|---|
committer | Martin Babinsky <mbabinsk@redhat.com> | 2016-10-13 17:40:11 +0200 |
commit | 91b51e702f1e105329ebea29c633d94516cd673c (patch) | |
tree | 814e5bba825e314c9e7ca2514391179647423513 /ipatests | |
parent | 8b0faa25d1c47f605bc6c91933469bb2370276c1 (diff) | |
download | freeipa-91b51e702f1e105329ebea29c633d94516cd673c.tar.gz freeipa-91b51e702f1e105329ebea29c633d94516cd673c.tar.xz freeipa-91b51e702f1e105329ebea29c633d94516cd673c.zip |
CI: workaround: wait for dogtag before replica-prepare
In domain level 0 ipa-replica-prepare fails because dogtag is not ready
so soon after final restart during installation (tests are too fast).
Wait 30 seconds before ipa-replica-prepare is executed, to make sure
that dogtag is ready. Remove this workaround when ticket is fixed.
https://fedorahosted.org/freeipa/ticket/6274
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipatests')
-rw-r--r-- | ipatests/test_integration/tasks.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index 7c9622769..0b460b952 100644 --- a/ipatests/test_integration/tasks.py +++ b/ipatests/test_integration/tasks.py @@ -370,6 +370,9 @@ def install_replica(master, replica, setup_ca=True, setup_dns=False, args.extend(extra_args) if domain_level == DOMAIN_LEVEL_0: + # workaround #6274 - remove when fixed + time.sleep(30) # wait until dogtag wakes up + # prepare the replica file on master and put it to replica, AKA "old way" replica_prepare(master, replica) replica_filename = get_replica_filename(replica) |