From be535d22a0941ba52a4be8b61884921e23c737c0 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Fri, 6 Dec 2024 17:16:07 +0100 Subject: test serve_target_cache_hit: Remove wrong check One of the analysis commands marked as expected to fail fails from wrongly passing the launcher instead of the stated reasons. As the behaviour between standalone and separate serve endpoint versions would become inconsistent after fixing the command line, remove this check completely. This does not negatively influence the scope of the test script. --- test/end-to-end/serve-service/serve_target_cache_hit.sh | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'test') diff --git a/test/end-to-end/serve-service/serve_target_cache_hit.sh b/test/end-to-end/serve-service/serve_target_cache_hit.sh index ab20ef07..660055e9 100644 --- a/test/end-to-end/serve-service/serve_target_cache_hit.sh +++ b/test/end-to-end/serve-service/serve_target_cache_hit.sh @@ -148,19 +148,6 @@ echo "${JUST}" analyse --local-build-root "${LBR}" -C "${CONF}" main && echo "this should fail" >&2 && exit 1 echo "failed as expected" -# test that it fails if we use a different remote execution address w.r.t. the -# one used by just-serve -"${JUST}" analyse \ - --local-build-root "${LBR}" \ - -L '["env", "PATH='"${PATH}"'"]' \ - --remote-serve-address "${SERVE}" \ - -C "${CONF}" \ - -r "${SERVE}" \ - ${COMPAT} \ - ${REMOTE_PROPERTIES} \ - ${DISPATCH} \ - main && echo "this should fail" >&2 && exit 1 - # test that we can successfully compile using just serve "${JUST}" build \ --local-build-root "${LBR}" \ -- cgit v1.2.3