1
0
mirror of https://github.com/rancher/os.git synced 2025-09-13 21:51:33 +00:00

Always assert RunQemu is successful

This commit is contained in:
Josh Curl
2016-10-21 20:34:30 -07:00
parent 4057275605
commit 2ae22a66fe
28 changed files with 36 additions and 72 deletions

View File

@@ -3,8 +3,7 @@ package integration
import . "gopkg.in/check.v1"
func (s *QemuSuite) TestNetworkOnBoot(c *C) {
err := s.RunQemu("--cloud-config", "./tests/assets/test_18/cloud-config.yml", "-net", "nic,vlan=1,model=virtio")
c.Assert(err, IsNil)
s.RunQemu(c, "--cloud-config", "./tests/assets/test_18/cloud-config.yml", "-net", "nic,vlan=1,model=virtio")
s.CheckCall(c, "apt-get --version")
s.CheckCall(c, "sudo system-docker images | grep tianon/true")