rustprooflabs / pgosm-flex

PgOSM Flex provides high quality OpenStreetMap datasets in PostGIS (Postgres) using the osm2pgsql Flex output.
MIT License
101 stars 20 forks source link

Add tests to Makefile covering `--append` #265

Closed rustprooflabs closed 2 years ago

rustprooflabs commented 2 years ago

Details

It would be good to add tests to Makefile to cover --append functionality. #264 made me realize there wasn't a test already covering any --append functionality, let alone --append with --input-file. The first step is to test the first run. This will not be testing the actual replication.

Testing the effect of replication (e.g. data tests) seems like it will be more challenging, there's a limit to how old the original file can be (vaguely remember 60 days?).