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
This commit is contained in:
Martin Pitt 2020-04-06 14:33:05 +02:00
parent 15c2932687
commit cc5550a75f
2 changed files with 9 additions and 0 deletions

View File

@ -11,6 +11,8 @@ cd /tmp
git clone --depth=1 https://github.com/cockpit-project/cockpit git clone --depth=1 https://github.com/cockpit-project/cockpit
cd cockpit cd cockpit
git clone --depth=1 https://github.com/cockpit-project/bots 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 # copy tests from our source, so that they match the released version
rm -rf test rm -rf test
cp -a /source/test . cp -a /source/test .
@ -23,6 +25,12 @@ export TEST_AUDIT_NO_SELINUX=1
RC=0 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 # 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=$? test/verify/check-packagekit -tv --machine $HOST:22 --browser $HOST:9090 TestUpdates.test{Basic,SecurityOnly} TestAutoUpdates || RC=$?

View File

@ -21,6 +21,7 @@
- firewalld - firewalld
- libvirt-daemon-config-network - libvirt-daemon-config-network
- podman - podman
- targetcli
- tlog - tlog
tests: tests:
- smoke: - smoke: