[Tile-serving] [openstreetmap/osm2pgsql] Basic test of osm2pgsql-replication (PR #1931)

Jakob Miksch notifications at github.com
Sat Jun 3 20:09:51 UTC 2023


@JakobMiksch commented on this pull request.



> @@ -0,0 +1,32 @@
+Feature: Tests for the osm2pgsql-replication script
+
+    Scenario: Replication can be initialiased

```suggestion
    Scenario: Replication can be initialised
```

> +
+    Scenario: Replication can be initialiased
+
+        Given the OSM data
+            """
+            n34 Tamenity=restaurant x77 y45.3
+            """
+        When running osm2pgsql pgsql with parameters
+            | --slim |
+
+        And running osm2pgsql-replication
+            | init | --osm-file={TEST_DATA_DIR}/liechtenstein-2013-08-03.osm.pbf |
+
+        Then table planet_osm_replication_status has 1 row
+
+    Scenario: Replication can be initialiased in different schema

```suggestion
    Scenario: Replication can be initialised in different schema
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1931#pullrequestreview-1460138258
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1931/review/1460138258 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230603/c443805f/attachment.htm>


More information about the Tile-serving mailing list