Browse code

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>

Kir Kolyshkin authored on 2018/02/21 06:31:03
Showing 1 changed files
... ...
@@ -35,7 +35,7 @@ func TestUpdateMemory(t *testing.T) {
35 35
 
36 36
 	const (
37 37
 		setMemory     int64 = 314572800
38
-		setMemorySwap       = 524288000
38
+		setMemorySwap int64 = 524288000
39 39
 	)
40 40
 
41 41
 	_, err := client.ContainerUpdate(ctx, cID, containertypes.UpdateConfig{