mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Modified cpuset test for unicore test environment
Modified TestInspectApiCpusetInConfigPre120 and TestContainerApiCreateWithCpuSharesCpuset for working on unicore cpu environment. Signed-off-by: Daehyeok Mun <daehyeok@gmail.com>
This commit is contained in:
parent
aeccd45e5b
commit
a9afebae62
2 changed files with 3 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ func (s *DockerSuite) TestInspectApiCpusetInConfigPre120(c *check.C) {
|
|||
testRequires(c, cgroupCpuset)
|
||||
|
||||
name := "cpusetinconfig-pre120"
|
||||
dockerCmd(c, "run", "--name", name, "--cpuset-cpus", "0-1", "busybox", "true")
|
||||
dockerCmd(c, "run", "--name", name, "--cpuset-cpus", "0", "busybox", "true")
|
||||
|
||||
status, body, err := sockRequest("GET", fmt.Sprintf("/v1.19/containers/%s/json", name), nil)
|
||||
c.Assert(status, check.Equals, http.StatusOK)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue