Skip to content

Commit

Permalink
integration/docker: unskip CPU hotplug tests
Browse files Browse the repository at this point in the history
once all vCPUs have been connected, the agent updates the cpuset cgroup
of each container allowing them to access to these resources

Depends-on: github.com/kata-containers/agent#220

fixes kata-containers#250

Signed-off-by: Julio Montes <[email protected]>
  • Loading branch information
Julio Montes committed Apr 23, 2018
1 parent 80441c5 commit ddb09ac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions integration/docker/cpu_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ var _ = Describe("Hot plug CPUs", func() {

DescribeTable("container with CPU period and quota",
func(quota, period int, fail bool) {
Skip("Issue: https://github.com/kata-containers/tests/issues/250")
args = append(args, "--cpu-quota", fmt.Sprintf("%d", quota),
"--cpu-period", fmt.Sprintf("%d", period), Image, "sh", "-c", "sleep 5; nproc")
vCPUs = (quota + period - 1) / period
Expand All @@ -99,7 +98,6 @@ var _ = Describe("Hot plug CPUs", func() {

DescribeTable("container with CPU constraint",
func(cpus int, fail bool) {
Skip("Issue: https://github.com/kata-containers/tests/issues/250")
args = append(args, "--cpus", fmt.Sprintf("%d", cpus), Image, "sh", "-c", "sleep 5; nproc")
stdout, _, exitCode := dockerRun(args...)
if fail {
Expand Down

0 comments on commit ddb09ac

Please sign in to comment.