summaryrefslogtreecommitdiffhomepage
path: root/runsc/container
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-08-06 18:07:15 -0700
committerShentubot <shentubot@google.com>2018-08-06 18:08:25 -0700
commit9752174a7f211328c0ff59f8ed6c51325a6fc23d (patch)
tree2ebc019d9a95ce94cebc384b7afb0e04470c0e88 /runsc/container
parentbc9a1fca23870b21e16e024220e0c87e236c6cf5 (diff)
Disable KVM dimension because it's making the test flaky
PiperOrigin-RevId: 207642348 Change-Id: Iacec9f097ab93b91c0c8eea61b1347e864f57a8b
Diffstat (limited to 'runsc/container')
-rw-r--r--runsc/container/container_test.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/runsc/container/container_test.go b/runsc/container/container_test.go
index 7953f3380..9e38f5f77 100644
--- a/runsc/container/container_test.go
+++ b/runsc/container/container_test.go
@@ -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
}