From 9d2d187af4a44d237dfc8534105f4226b9b7fb14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20V=C3=A1vra?= Date: Wed, 4 Sep 2024 12:53:36 +0200 Subject: [PATCH] tests: remove additional multihost/basic references Reviewed-by: Alexey Tikhonov --- Makefile.am | 11 -------- src/tests/multihost/README.md | 49 +---------------------------------- 2 files changed, 1 insertion(+), 59 deletions(-) diff --git a/Makefile.am b/Makefile.am index 3e5fc5a0cf0..72198bb725c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5463,17 +5463,6 @@ dist_noinst_DATA += \ contrib/sssd.spec.in \ BUILD.txt \ COPYING \ - src/tests/multihost/README.md \ - src/tests/multihost/conftest.py \ - src/tests/multihost/basic/mhc.yaml \ - src/tests/multihost/basic/test_basic.py \ - src/tests/multihost/basic/test_config.py \ - src/tests/multihost/basic/test_files.py \ - src/tests/multihost/basic/test_ifp.py \ - src/tests/multihost/basic/test_kcm.py \ - src/tests/multihost/basic/test_sssctl_config_check.py \ - src/tests/multihost/basic/test_sudo.py \ - src/tests/multihost/basic/utils_config.py \ $(NULL) rpmroot: diff --git a/src/tests/multihost/README.md b/src/tests/multihost/README.md index 3f4a8fa912c..7ed7953cfaa 100644 --- a/src/tests/multihost/README.md +++ b/src/tests/multihost/README.md @@ -1,49 +1,2 @@ # Instructions on executing tests - -Multihost tests uses the `python-multihost` framework to execute test commands -on remote machines. The tests themselves are run locally via pytest. - -## Install requirements - -``` -sudo pip3 install -r src/tests/multihost/requirements.txt -``` - -You can also install them in virtual environment using the virtualenv command -if you wish. - -## Prepare remote machines - -Existing tests currently requires only one remote machine where the SSSD version -that you want to test is installed. The machine must be Fedora or RHEL so it can -be correctly provisioned. The **tests will modify the machine** so use something -disposable. - -It is recommended to use [sssd-test-suite] project to create such machine. The -multihost tests can run out of the box using [sssd-test-suite] without any -further changes. - -[sssd-test-suite]: https://github.com/SSSD/sssd-test-suite - -## Prepare multihost configuration - -Edit `src/tests/multihost/basic/mhc.yaml`: - -```yaml -root_password: 'vagrant' # use remote machine root password -domains: -- name: tier0.tests - type: sssd - hosts: - - name: client - external_hostname: master.client.vm # your machine fully qualified name - role: master -``` - -Note: You can skip this step if you use machines from sssd-test-suite. - -## Run the tests - -``` -pytest-3 -s --multihost-config=src/tests/multihost/basic/mhc.yaml src/tests/multihost/basic -``` +See [tests.sssd.io] https://tests.sssd.io/en/latest/ \ No newline at end of file