From ff98f274074ab01b2b59257a73e19624cc4afe1e Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Mon, 6 Mar 2017 15:02:24 +1000 Subject: [PATCH] use a smaller console to test Signed-off-by: Sven Dowideit --- tests/assets/test_18/cloud-config.yml | 2 +- tests/network_on_boot_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/assets/test_18/cloud-config.yml b/tests/assets/test_18/cloud-config.yml index 155a1d98..268940e2 100644 --- a/tests/assets/test_18/cloud-config.yml +++ b/tests/assets/test_18/cloud-config.yml @@ -1,6 +1,6 @@ #cloud-config rancher: - console: debian + console: alpine services: missing_image: image: tianon/true diff --git a/tests/network_on_boot_test.go b/tests/network_on_boot_test.go index f17dfe0a..d5ee948c 100755 --- a/tests/network_on_boot_test.go +++ b/tests/network_on_boot_test.go @@ -5,6 +5,6 @@ import . "gopkg.in/check.v1" func (s *QemuSuite) TestNetworkOnBoot(c *C) { 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, "apk --version") s.CheckCall(c, "sudo system-docker images | grep tianon/true") }