From cc5550a75f57b823dc30020db731f63018239f83 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 6 Apr 2020 14:33:05 +0200 Subject: [PATCH] test: Enable first libvirt tests Enable the ones corresponding to the selenium tests [1], except for some which are still too unstable. [1] https://github.com/cockpit-project/cockpit/issues/13481 --- tests/container-run.sh | 8 ++++++++ tests/tests.yml | 1 + 2 files changed, 9 insertions(+) diff --git a/tests/container-run.sh b/tests/container-run.sh index 7fad668..65e4df4 100755 --- a/tests/container-run.sh +++ b/tests/container-run.sh @@ -11,6 +11,8 @@ cd /tmp git clone --depth=1 https://github.com/cockpit-project/cockpit cd cockpit git clone --depth=1 https://github.com/cockpit-project/bots +# pre-download cirros image for Machines tests +bots/image-download cirros # copy tests from our source, so that they match the released version rm -rf test cp -a /source/test . @@ -23,6 +25,12 @@ export TEST_AUDIT_NO_SELINUX=1 RC=0 +# some tests are still too unstable: testCreate,testAddDisk,testDetachDisk +test/verify/check-machines-dbus -tv --machine $HOST:22 --browser $HOST:9090 \ + TestMachinesDBus.test{Basic,Libvirt,VCPU,MultipleSettings,BootOrder} \ + TestMachinesDBus.test{InlineConsole,ExternalConsole,SerialConsole} \ + TestMachinesDBus.test{StoragePools,StoragePoolsCreate,VmNICs,NICAdd,NetworkSettings} || RC=\$? + # not all classes are nondestructive, and we can't run rebooting tests test/verify/check-packagekit -tv --machine $HOST:22 --browser $HOST:9090 TestUpdates.test{Basic,SecurityOnly} TestAutoUpdates || RC=$? diff --git a/tests/tests.yml b/tests/tests.yml index ea34683..0788f80 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -21,6 +21,7 @@ - firewalld - libvirt-daemon-config-network - podman + - targetcli - tlog tests: - smoke: