mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	integration-cli: wait for container before sending ^D
Signed-off-by: Tibor Vass <teabee89@gmail.com>
This commit is contained in:
		
							parent
							
								
									10ab6dcb4f
								
							
						
					
					
						commit
						a124bfaef3
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -81,6 +81,9 @@ func TestAttachAfterDetach(t *testing.T) {
 | 
				
			||||||
	}()
 | 
						}()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	time.Sleep(500 * time.Millisecond)
 | 
						time.Sleep(500 * time.Millisecond)
 | 
				
			||||||
 | 
						if err := waitRun(name); err != nil {
 | 
				
			||||||
 | 
							t.Fatal(err)
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
	cpty.Write([]byte{16})
 | 
						cpty.Write([]byte{16})
 | 
				
			||||||
	time.Sleep(100 * time.Millisecond)
 | 
						time.Sleep(100 * time.Millisecond)
 | 
				
			||||||
	cpty.Write([]byte{17})
 | 
						cpty.Write([]byte{17})
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue