tests: Only run one Machines test on VM instance without /dev/kvm
Each Machines test takes about 4 minutes with QEMU emulation, and they are very prone to failing. Due to the automatic retry, the Machines tests currently take about 6 hours on Fedora gating infrastructure, and are just about impossible to get succeeding.
This commit is contained in:
parent
6f3becab15
commit
e17149cb3b
@ -48,10 +48,16 @@ if [ -n "$test_optional" ]; then
|
|||||||
# TestUpdates: we can't run rebooting tests
|
# TestUpdates: we can't run rebooting tests
|
||||||
TESTS="$TESTS
|
TESTS="$TESTS
|
||||||
TestAutoUpdates
|
TestAutoUpdates
|
||||||
TestMachines
|
|
||||||
TestStorage
|
TestStorage
|
||||||
TestUpdates.testBasic
|
TestUpdates.testBasic
|
||||||
TestUpdates.testSecurityOnly"
|
TestUpdates.testSecurityOnly"
|
||||||
|
|
||||||
|
# Fedora gating tests are running on infra without /dev/kvm; Machines tests are too darn slow there
|
||||||
|
if [ -w /dev/kvm ]; then
|
||||||
|
TESTS="$TESTS TestMachines"
|
||||||
|
else
|
||||||
|
TESTS="$TESTS TestMachinesCreate.testCreateImportDisk"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$test_basic" ]; then
|
if [ -n "$test_basic" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user