support/testing/tests/package/test_docker-compose: fix docker compose binary name
Docker compose is now invoked as "docker compose" not "docker-compose." Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/3249828442 Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
73890799ee
commit
2e99a233bd
@ -40,7 +40,7 @@ class TestDockerCompose(infra.basetest.BRTest):
|
|||||||
|
|
||||||
def docker_compose_test(self):
|
def docker_compose_test(self):
|
||||||
# will download container if not available, which may take some time
|
# will download container if not available, which may take some time
|
||||||
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 -O /tmp/busybox http://127.0.0.1/busybox', 120)
|
self.assertRunOk('wget -O /tmp/busybox http://127.0.0.1/busybox', 120)
|
||||||
|
Loading…
Reference in New Issue
Block a user