Skip to content

Commit

Permalink
chore: add test description, remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jhaeu committed Apr 19, 2024
1 parent 65a866f commit e63588e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit e63588e

Please sign in to comment.