Change integration test to use variable

Followup to #20246, changes the test to use already declared variable

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
Upstream-commit: ce1059973a4a46acc272a8c0fea521c96e628ba7
Component: engine
This commit is contained in:
Christopher Jones
2016-02-11 21:11:51 -05:00
parent 100b7c7c54
commit f115ec243c

View File

@ -1014,7 +1014,7 @@ func (s *DockerNetworkSuite) TestDockerNetworkHostModeUngracefulDaemonRestart(c
c.Assert(err, checker.IsNil, check.Commentf(out))
// verfiy container has finished starting before killing daemon
err = s.d.waitRun(fmt.Sprintf("hostc-%d", i))
err = s.d.waitRun(cName)
c.Assert(err, checker.IsNil)
}