mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
integration-cli: fix TestCreateWithTooLowMemoryLimit: using deprecated API fields
This test was depending on top-level fields that were deprecated since API v1.18. These fields are no longer sent by current clients. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -800,8 +800,10 @@ func (s *DockerAPISuite) TestCreateWithTooLowMemoryLimit(c *testing.T) {
|
||||
"Image": "busybox",
|
||||
"Cmd": "ls",
|
||||
"OpenStdin": true,
|
||||
"CpuShares": 100,
|
||||
"Memory": 524287
|
||||
"HostConfig": {
|
||||
"CpuShares": 100,
|
||||
"Memory": 524287
|
||||
}
|
||||
}`
|
||||
|
||||
res, body, err := request.Post(testutil.GetContext(c), "/containers/create", request.RawString(config), request.JSON)
|
||||
|
||||
Reference in New Issue
Block a user