From e63588e71472467a2949bf3c613c0e59bb373eb8 Mon Sep 17 00:00:00 2001 From: Jochen Haeussler Date: Fri, 19 Apr 2024 15:08:49 +0200 Subject: [PATCH] chore: add test description, remove comments --- .../debian-12-jar-mvn/tests/profile-default-enabled-false.sh | 4 ++-- .../debian-12-jar-mvn/tests/profile-default-enabled-true.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.integration-scenarios/debian-12-jar-mvn/tests/profile-default-enabled-false.sh b/.integration-scenarios/debian-12-jar-mvn/tests/profile-default-enabled-false.sh index 3861bd8a75..2bc28c6cdf 100755 --- a/.integration-scenarios/debian-12-jar-mvn/tests/profile-default-enabled-false.sh +++ b/.integration-scenarios/debian-12-jar-mvn/tests/profile-default-enabled-false.sh @@ -16,15 +16,15 @@ ors: gtfs_file: ors-api/src/test/files/vrn_gtfs_cut.zip ") +# When profiles are not enabled as default and none is explicitly enabled, +# then ORS should not start up podman run --replace --name "${CONTAINER}" -p "${HOST_PORT}":8082 \ -v "${M2_FOLDER}":/root/.m2 \ -v "${TESTROOT}/graphs_volume":"${CONTAINER_WORK_DIR}/graphs" \ -v "${configPT}":"${CONTAINER_WORK_DIR}/ors-config.yml" \ "local/${IMAGE}:latest" & -# expect process finished timout res=$(expectOrsStartupFails 300 "$CONTAINER" ) -# stop container if was not finished cleanupTest assertEquals "terminated" "$res" diff --git a/.integration-scenarios/debian-12-jar-mvn/tests/profile-default-enabled-true.sh b/.integration-scenarios/debian-12-jar-mvn/tests/profile-default-enabled-true.sh index ab4ab7e12a..7008eaf258 100755 --- a/.integration-scenarios/debian-12-jar-mvn/tests/profile-default-enabled-true.sh +++ b/.integration-scenarios/debian-12-jar-mvn/tests/profile-default-enabled-true.sh @@ -16,6 +16,8 @@ ors: gtfs_file: ors-api/src/test/files/vrn_gtfs_cut.zip ") +# When profile_default.enabled: true +# then all profiles should be enabled podman run --replace --name "${CONTAINER}" -p "${HOST_PORT}":8082 \ -v "${M2_FOLDER}":/root/.m2 \ -v "${TESTROOT}/graphs_volume":"${CONTAINER_WORK_DIR}/graphs" \