v0.2.48..v0.2.49 changeset RndServiceNodeDensityTilesCmdTest.sh
Garret Voltz edited this page Oct 2, 2019
·
1 revision
diff --git a/test-files/cmd/glacial/serial/RndServiceNodeDensityTilesCmdTest.sh b/test-files/cmd/glacial/serial/RndServiceNodeDensityTilesCmdTest.sh
index eb19065..bbe7533 100755
--- a/test-files/cmd/glacial/serial/RndServiceNodeDensityTilesCmdTest.sh
+++ b/test-files/cmd/glacial/serial/RndServiceNodeDensityTilesCmdTest.sh
@@ -7,6 +7,7 @@ mkdir -p $OUTPUT_DIR
mkdir -p $HOOT_HOME/tmp
# convert.bounding.box only works with db inputs
+# TODO: above no longer true...we could convert this to an xml file based test; also, the file name should be prefixed with "Rnd"
source conf/database/DatabaseConfig.sh
export OSM_API_DB_URL="osmapidb://$DB_USER:$DB_PASSWORD@$DB_HOST:$DB_PORT/$DB_NAME_OSMAPI"
@@ -21,5 +22,5 @@ hoot node-density-tiles --warn -D api.db.email=test@test.com -D convert.bounding
diff $GOLD_FILES_DIR/output-cropped.geojson $OUTPUT_DIR/output-cropped.geojson
# Clean up the map from the database
-hoot delete-db-map --warn -D api.db.email=test@test.com $HOOT_DB_URL"/DcTigerRoads"
+hoot db-delete-map --warn -D api.db.email=test@test.com $HOOT_DB_URL"/DcTigerRoads"
scripts/database/CleanAndInitializeOsmApiDb.sh > /dev/null