Skip to content

v0.2.53..v0.2.54 changeset ServiceNodeDensityTilesCmdTest.sh

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/test-files/cmd/slow/serial/ServiceNodeDensityTilesCmdTest.sh b/test-files/cmd/slow/serial/ServiceNodeDensityTilesCmdTest.sh
index 79a5d37..70dd502 100755
--- a/test-files/cmd/slow/serial/ServiceNodeDensityTilesCmdTest.sh
+++ b/test-files/cmd/slow/serial/ServiceNodeDensityTilesCmdTest.sh
@@ -15,12 +15,14 @@ export OSM_API_DB_AUTH="-h $DB_HOST -p $DB_PORT -U $DB_USER"
 export PGPASSWORD=$DB_PASSWORD_OSMAPI
 HOOT_DB_URL="hootapidb://$DB_USER:$DB_PASSWORD@$DB_HOST:$DB_PORT/$DB_NAME"
 
+CONFIG="-C Testing.conf"
+
 scripts/database/CleanAndInitializeOsmApiDb.sh
-hoot convert --warn -C Testing.conf -D api.db.email=test@test.com -D changeset.user.id=1 -D apidb.bulk.inserter.validate.data=true test-files/DcGisRoads.osm $OSM_API_DB_URL
-hoot convert --warn -C Testing.conf -D hootapi.db.writer.overwrite.map=true -D hootapi.db.writer.create.user=true -D api.db.email=test@test.com test-files/DcTigerRoads.osm $HOOT_DB_URL"/DcTigerRoads"
-hoot node-density-tiles --warn -C Testing.conf -D api.db.email=test@test.com -D convert.bounding.box="-77.04856,38.8855,-77.0292,38.899" $OSM_API_DB_URL";"$HOOT_DB_URL"/DcTigerRoads" $OUTPUT_DIR/output-cropped.geojson 1000 0.001
-hoot diff $GOLD_FILES_DIR/output-cropped.geojson $OUTPUT_DIR/output-cropped.geojson
+hoot convert --warn $CONFIG -D api.db.email=test@test.com -D changeset.user.id=1 -D apidb.bulk.inserter.validate.data=true test-files/DcGisRoads.osm $OSM_API_DB_URL
+hoot convert --warn $CONFIG -D hootapi.db.writer.overwrite.map=true -D hootapi.db.writer.create.user=true -D api.db.email=test@test.com test-files/DcTigerRoads.osm $HOOT_DB_URL"/DcTigerRoads"
+hoot node-density-tiles --warn $CONFIG -D api.db.email=test@test.com -D convert.bounding.box="-77.04856,38.8855,-77.0292,38.899" $OSM_API_DB_URL";"$HOOT_DB_URL"/DcTigerRoads" $OUTPUT_DIR/output-cropped.geojson 1000 0.001
+hoot diff $CONFIG $GOLD_FILES_DIR/output-cropped.geojson $OUTPUT_DIR/output-cropped.geojson
 
 # Clean up the map from the database
-hoot db-delete-map --warn -D api.db.email=test@test.com $HOOT_DB_URL"/DcTigerRoads"
+hoot db-delete-map --warn $CONFIG -D api.db.email=test@test.com $HOOT_DB_URL"/DcTigerRoads"
 scripts/database/CleanAndInitializeOsmApiDb.sh > /dev/null
Clone this wiki locally