mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Removed deleteContainer calls
Signed-off-by: Lorenzo Fontana <fontanalorenzo@me.com>
This commit is contained in:
		
							parent
							
								
									a09dfbcaad
								
							
						
					
					
						commit
						086b514f6a
					
				
					 5 changed files with 0 additions and 42 deletions
				
			
		| 
						 | 
				
			
			@ -54,8 +54,6 @@ func (s *DockerSuite) TestTopNonPrivileged(c *check.C) {
 | 
			
		|||
		c.Fatalf("failed to kill container: %s, %v", out, err)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	deleteContainer(cleanedContainerID)
 | 
			
		||||
 | 
			
		||||
	if !strings.Contains(out1, "top") && !strings.Contains(out2, "top") {
 | 
			
		||||
		c.Fatal("top should've listed `top` in the process list, but failed twice")
 | 
			
		||||
	} else if !strings.Contains(out1, "top") {
 | 
			
		||||
| 
						 | 
				
			
			@ -92,8 +90,6 @@ func (s *DockerSuite) TestTopPrivileged(c *check.C) {
 | 
			
		|||
		c.Fatalf("failed to kill container: %s, %v", out, err)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	deleteContainer(cleanedContainerID)
 | 
			
		||||
 | 
			
		||||
	if !strings.Contains(out1, "top") && !strings.Contains(out2, "top") {
 | 
			
		||||
		c.Fatal("top should've listed `top` in the process list, but failed twice")
 | 
			
		||||
	} else if !strings.Contains(out1, "top") {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue