mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	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 <ahmetb@microsoft.com>
This commit is contained in:
		
							parent
							
								
									09b785f3be
								
							
						
					
					
						commit
						e39ea834a9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue