Disable KVM dimension because it's making the test flaky

PiperOrigin-RevId: 207642348
Change-Id: Iacec9f097ab93b91c0c8eea61b1347e864f57a8b
This commit is contained in:
Fabricio Voznika 2018-08-06 18:07:15 -07:00 committed by Shentubot
parent bc9a1fca23
commit 9752174a7f
1 changed files with 7 additions and 6 deletions

View File

@ -212,12 +212,13 @@ func configs(opts configOptions) []*boot.Config {
cs = append(cs, c)
}
// TODO: KVM doesn't work with --race.
if !testutil.RaceEnabled && opts&kvm != 0 {
c := testutil.TestConfig()
c.Platform = boot.PlatformKVM
cs = append(cs, c)
}
// TODO: KVM tests are flaky. Disable until fixed.
// // TODO: KVM doesn't work with --race.
// if !testutil.RaceEnabled && opts&kvm != 0 {
// c := testutil.TestConfig()
// c.Platform = boot.PlatformKVM
// cs = append(cs, c)
// }
return cs
}