|
@@ -45,7 +45,8 @@ class TestDockerCompose(infra.basetest.BRTest):
|
|
self.assertRunOk('docker-compose up -d', 120)
|
|
self.assertRunOk('docker-compose up -d', 120)
|
|
# container may take some time to start
|
|
# container may take some time to start
|
|
self.assertRunOk('while ! docker inspect root_busybox_1 2>&1 >/dev/null; do sleep 1; done', 120)
|
|
self.assertRunOk('while ! docker inspect root_busybox_1 2>&1 >/dev/null; do sleep 1; done', 120)
|
|
- self.assertRunOk('wget http://127.0.0.1/resolv.conf', 120)
|
|
|
|
|
|
+ self.assertRunOk('wget -O /tmp/busybox http://127.0.0.1/busybox', 120)
|
|
|
|
+ self.assertRunOk('cmp /bin/busybox /tmp/busybox', 120)
|
|
|
|
|
|
def test_run(self):
|
|
def test_run(self):
|
|
kernel = os.path.join(self.builddir, "images", "bzImage")
|
|
kernel = os.path.join(self.builddir, "images", "bzImage")
|