Merge pull request #36361 from kolyshkin/pr36326-followup
integration/TestUpdateMemory: fix false failure
This commit is contained in:
commit
e3831a62a3
1 changed files with 2 additions and 2 deletions
|
@ -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)()
|
||||
|
|
Loading…
Add table
Reference in a new issue