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 <ahmetb@microsoft.com>
| ... | ... |
@@ -97,7 +97,7 @@ func TestImagesFilterWhiteSpaceTrimmingAndLowerCasingWorking(t *testing.T) {
|
| 97 | 97 |
|
| 98 | 98 |
imageListings := make([][]string, 5, 5) |
| 99 | 99 |
for idx, filter := range filters {
|
| 100 |
- cmd := exec.Command(dockerBinary, "images", "-f", filter) |
|
| 100 |
+ cmd := exec.Command(dockerBinary, "images", "-q", "-f", filter) |
|
| 101 | 101 |
out, _, err := runCommandWithOutput(cmd) |
| 102 | 102 |
if err != nil {
|
| 103 | 103 |
t.Fatal(err) |