Merge pull request #36361 from kolyshkin/pr36326-followup

integration/TestUpdateMemory: fix false failure
This commit is contained in:
Anusha Ragunathan 2018-02-20 16:10:59 -08:00 committed by GitHub
commit e3831a62a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ func TestUpdateMemory(t *testing.T) {
const (
setMemory int64 = 314572800
setMemorySwap = 524288000
setMemorySwap int64 = 524288000
)
_, err := client.ContainerUpdate(ctx, cID, containertypes.UpdateConfig{
@ -66,7 +66,7 @@ func TestUpdateMemory(t *testing.T) {
assert.Equal(t, strconv.FormatInt(setMemorySwap, 10), strings.TrimSpace(res.Stdout()))
}
func TestUpdateCPUQUota(t *testing.T) {
func TestUpdateCPUQuota(t *testing.T) {
t.Parallel()
defer setupTest(t)()