From c1827db24dbc8f0d6eca47c92f34d85bf6b2b128 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 29 Jan 2024 16:24:32 +0100 Subject: test absent-roots: Serve-endpoint build root must not be removed A change made to this test was wrongly setting the same path both as build root for the serve instance and for the just-mr instances being tested, resulting in the build root of the serve instance being inadvertently removed during the test. This commit fixes the issue by giving the serve endpoint its own build root path. --- test/end-to-end/just-mr/absent-roots.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/end-to-end/just-mr/absent-roots.sh b/test/end-to-end/just-mr/absent-roots.sh index cd15705d..853d2149 100644 --- a/test/end-to-end/just-mr/absent-roots.sh +++ b/test/end-to-end/just-mr/absent-roots.sh @@ -23,6 +23,7 @@ readonly INFOFILE="${PWD}/info.json" readonly PIDFILE="${PWD}/pid.txt" readonly LBR="${TEST_TMPDIR}/local-build-root" +readonly SERVE_LBR="${TEST_TMPDIR}/serve-local-build-root" readonly REPO_ROOT="${PWD}/serve_repo" readonly TEST_DATA="The content of the data file in foo" @@ -67,7 +68,7 @@ cat repos.json cat > .just-servec <