From e39ea834a92154574be3dde67ae30acdb25b32f7 Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Tue, 17 Feb 2015 19:29:17 -0800 Subject: [PATCH] Use -q param in test using `docker images -f` The test case `TestImagesFilterWhiteSpaceTrimmingAndLowerCasingWorking` fails based on time because it uses full `docker images` output and value in the `CREATED` column turns from `A minute ago` to `2 minutes ago` in the middle of execution and output comparison fails. Signed-off-by: Ahmet Alp Balkan --- integration-cli/docker_cli_images_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-cli/docker_cli_images_test.go b/integration-cli/docker_cli_images_test.go index a91f1c0e22..bb24e9a347 100644 --- a/integration-cli/docker_cli_images_test.go +++ b/integration-cli/docker_cli_images_test.go @@ -97,7 +97,7 @@ func TestImagesFilterWhiteSpaceTrimmingAndLowerCasingWorking(t *testing.T) { imageListings := make([][]string, 5, 5) for idx, filter := range filters { - cmd := exec.Command(dockerBinary, "images", "-f", filter) + cmd := exec.Command(dockerBinary, "images", "-q", "-f", filter) out, _, err := runCommandWithOutput(cmd) if err != nil { t.Fatal(err)