From edd90d8de4cf26dca2a3644837328160f296cbe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Wed, 26 May 2021 11:05:46 +0200 Subject: [PATCH] make: set hostname for "test-container" test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We now set the hostname for the "test-container" to "test_ceph_aio" where "aio" means "all in one". This will be useful for the rgw test where we need an hostname to reach out to the endpoint. Signed-off-by: Sébastien Han --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e922d2d..ac9cf8b 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ test: .PHONY: test-docker test-container test-multi-container test-docker: test-container test-container: $(BUILDFILE) $(RESULTS_DIR) - $(CONTAINER_CMD) run $(CONTAINER_OPTS) --rm -v $(CURDIR):/go/src/github.com/ceph/go-ceph$(VOLUME_FLAGS) $(RESULTS_VOLUME) $(CI_IMAGE_TAG) $(ENTRYPOINT_ARGS) + $(CONTAINER_CMD) run $(CONTAINER_OPTS) --rm --hostname test_ceph_aio -v $(CURDIR):/go/src/github.com/ceph/go-ceph$(VOLUME_FLAGS) $(RESULTS_VOLUME) $(CI_IMAGE_TAG) $(ENTRYPOINT_ARGS) test-multi-container: $(BUILDFILE) $(RESULTS_DIR) $(CONTAINER_CMD) kill test_ceph_a test_ceph_b 2>/dev/null || true $(CONTAINER_CMD) volume remove test_ceph_a_data test_ceph_b_data 2>/dev/null || true