freeipa/ipatests/test_integration
Florence Blanc-Renaud 55c0a93271 ipatests: fix test_replica_uninstall_deletes_ruvs
test_topology.py is failing because of a wrong scenario.
Currently, test_replica_uninstall_deletes_ruvs does:
- install master + replica with CA
- ipa-replica-manage list-ruv to check that the repl is
propery setup
- ipa-replica-manage del $replica
- (on replica) ipa-server-install --uninstall -U
- ipa-replica-manage list-ruv to check that replica
does not appear any more in the RUV list

When ipa-replica-manage del is run, the topology plugin
creates 2 tasks cleanallruvs (one for the domain, one for the ca)
and they are run asynchronously. This means that the ruvs may
still be present when the test moves forward and calls list-ruv.

The test should wait for the cleanallruvs tasks to finish before
checking that list-ruv does not display replica anymore.

Fixes https://pagure.io/freeipa/issue/7545

Reviewed-By: Thierry Bordaz <tbordaz@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2018-11-20 13:34:07 +01:00
..
__init__.py Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
base.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_advise.py Sprinkle raw strings across the code base 2018-09-27 10:23:03 +02:00
test_authselect.py Remove the authselect profile warning if sssd was not configured. 2018-10-26 08:11:03 +02:00
test_backup_and_restore.py ipatest: add functional test for ipa-backup 2018-10-26 17:21:07 +02:00
test_caless.py ipatests: update tests for ipa-server-certinstall 2018-11-13 13:04:19 +01:00
test_commands.py Add tests for ipa-cacert-manage install 2018-11-13 10:44:14 +01:00
test_customized_ds_config_install.py Speed up test_customized_ds_config_install 2018-11-08 17:46:38 +01:00
test_dns_locations.py Py3: Replace six.text_type with str 2018-09-27 16:11:18 +02:00
test_dnssec.py tests: add test for server install with --no-dnssec-validation 2018-09-03 13:56:39 +02:00
test_external_ca.py Use tasks.install_master() in external_ca tests 2018-10-26 20:10:23 +02:00
test_forced_client_reenrollment.py Add test for client installation with empty keytab file 2018-09-06 17:40:58 +02:00
test_http_kdc_proxy.py Sprinkle raw strings across the code base 2018-09-27 10:23:03 +02:00
test_idviews.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_installation.py Restore KRA clone installation integration test 2018-10-26 21:37:39 +02:00
test_kerberos_flags.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_legacy_clients.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_netgroup.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_ordering.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_replica_promotion.py Fix misleading errors during client install rollback 2018-10-26 08:11:03 +02:00
test_replication_layouts.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_server_del.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_service_permissions.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_simple_replication.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_sudo.py ipatests: add test for ipa-advise for enabling sudo for admins group 2018-11-07 13:48:54 +01:00
test_testconfig.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_topologies.py Fix comparison-with-callable 2018-11-13 13:37:58 +01:00
test_topology.py ipatests: fix test_replica_uninstall_deletes_ruvs 2018-11-20 13:34:07 +01:00
test_trust.py Sprinkle raw strings across the code base 2018-09-27 10:23:03 +02:00
test_uninstallation.py Drop dependency on 389-ds-base-legacy-tools 2018-11-13 12:07:27 +01:00
test_upgrade.py Add assert to check output of upgrade 2018-08-16 12:45:00 +02:00
test_user_permissions.py ipatests: add integration test for "Read radius servers" perm 2018-11-13 12:40:44 +01:00
test_vault.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00