It'll weaken this test case, and the flaky test is resolved
by another commit in this PR.
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
| ... | ... |
@@ -49,7 +49,7 @@ func (s *DockerSuite) TestExecTTY(c *check.C) {
|
| 49 | 49 |
c.Assert(err, checker.IsNil) |
| 50 | 50 |
defer p.Close() |
| 51 | 51 |
|
| 52 |
- _, err = p.Write([]byte("cat /foo && sleep 2 && exit\n"))
|
|
| 52 |
+ _, err = p.Write([]byte("cat /foo && exit\n"))
|
|
| 53 | 53 |
c.Assert(err, checker.IsNil) |
| 54 | 54 |
|
| 55 | 55 |
chErr := make(chan error) |