freeipa/ipatests
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
..
man Replace ntpd with chronyd in installation 2018-04-09 11:00:02 -04:00
prci_definitions Fix nightly PR CI configuration for Web UI tests 2018-11-16 10:55:56 +01:00
pytest_ipa ipatests: fix test_replica_uninstall_deletes_ruvs 2018-11-20 13:34:07 +01:00
test_cmdline Address inconsistent-return-statements 2018-11-13 13:37:58 +01:00
test_install ipa-client-install: Update how comments are added by ipachangeconf 2018-07-05 19:42:43 +02:00
test_integration ipatests: fix test_replica_uninstall_deletes_ruvs 2018-11-20 13:34:07 +01:00
test_ipaclient Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_ipalib Silence comparison-with-itself in tests 2018-11-13 13:37:58 +01:00
test_ipaplatform Silence comparison-with-itself in tests 2018-11-13 13:37:58 +01:00
test_ipapython Silence comparison-with-itself in tests 2018-11-13 13:37:58 +01:00
test_ipaserver ipaserver.install.adtrust: fix CID 323644 2018-11-07 16:37:18 +01:00
test_webui Fix useless-import-alias 2018-11-13 13:37:58 +01:00
test_xmlrpc Fix various dict related pylint warnings 2018-11-13 13:37:58 +01:00
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
conftest.py Fix pytest deprecation warning 2018-11-15 15:02:13 +01:00
create_external_ca.py Py3: Replace six.text_type with str 2018-09-27 16:11:18 +02:00
data.py Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
i18n.py Sprinkle raw strings across the code base 2018-09-27 10:23:03 +02:00
ipa-run-tests Fix compatibility with latest pytest 2018-03-23 13:08:39 +01:00
ipa-test-config Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
ipa-test-task Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
Makefile.am Build: fix distribution of static files for web UI 2016-11-09 13:08:32 +01:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_util.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
util.py Fix Module 'pytest' has no 'config' member 2018-11-13 13:37:58 +01:00