mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
integration/TestUpdateMemory: fix false failure
This fixes the following test failure:
> --- FAIL: TestUpdateMemory (0.53s)
> assertions.go:226:
> Error Trace: update_linux_test.go:52
> Error: Not equal:
> expected: int(524288000)
> received: int64(524288000)
Fixes: 0f9da07b56
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
parent
ee9abc2120
commit
cc86647098
1 changed files with 1 additions and 1 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{
|
||||
|
|
Loading…
Reference in a new issue