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: 0f9da07b569f0d9
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Upstream-commit: cc866470981a1e6a839004f24eb30bb708078068
Component: engine
This commit is contained in:
Kir Kolyshkin
2018-02-20 13:31:03 -08:00
parent dbebd52548
commit 133cf88cac
@@ -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{