Incorporated the change as suggeted by duglin.
Signed-off-by: Anil Belur <askb23@gmail.com>
| ... | ... |
@@ -127,6 +127,7 @@ func (s *DockerSuite) TestExecEnv(c *check.C) {
|
| 127 | 127 |
testRequires(c, DaemonIsLinux) |
| 128 | 128 |
dockerCmd(c, "run", "-e", "LALA=value1", "-e", "LALA=value2", |
| 129 | 129 |
"-d", "--name", "testing", "busybox", "top") |
| 130 |
+ c.Assert(waitRun("testing"), check.IsNil)
|
|
| 130 | 131 |
|
| 131 | 132 |
out, _ := dockerCmd(c, "exec", "testing", "env") |
| 132 | 133 |
if strings.Contains(out, "LALA=value1") || |