From 225b6373cd593064c15ca495642bf91c47a5f3ec Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Mon, 16 Oct 2023 20:31:54 +0530 Subject: [PATCH] fix: tests --- .github/workflows/flow.yml | 2 +- flow/e2e/test_utils.go | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/flow.yml b/.github/workflows/flow.yml index b3f1616e59..1c3a385d3f 100644 --- a/.github/workflows/flow.yml +++ b/.github/workflows/flow.yml @@ -16,7 +16,7 @@ jobs: timeout-minutes: 30 services: pg_cdc: - image: postgis:15-3.4-alpine + image: postgis/postgis:15-3.4-alpine ports: - 7132:5432 env: diff --git a/flow/e2e/test_utils.go b/flow/e2e/test_utils.go index 76f98ed1ab..8dbb97f581 100644 --- a/flow/e2e/test_utils.go +++ b/flow/e2e/test_utils.go @@ -206,8 +206,10 @@ func PopulateSourceTable(pool *pgxpool.Pool, suffix string, tableName string, ro '[{"key1": "value1", "key2": "value2", "key3": "value3"}]', '{"key": "value"}', 15, 'POINT(1 2)','POINT(40.7128 -74.0060)', - 'LINESTRING(0 0, 1 1, 2 2)','LINESTRING(-74.0060 40.7128, -73.9352 40.7306, -73.9123 40.7831)', - 'POLYGON((0 0, 0 1, 1 1, 1 0, 0 0))','POLYGON((-74.0060 40.7128, -73.9352 40.7306, -73.9123 40.7831, -74.0060 40.7128))' + 'LINESTRING(0 0, 1 1, 2 2)', + 'LINESTRING(-74.0060 40.7128, -73.9352 40.7306, -73.9123 40.7831)', + 'POLYGON((0 0, 0 1, 1 1, 1 0, 0 0))', + 'POLYGON((-74.0060 40.7128, -73.9352 40.7306, -73.9123 40.7831, -74.0060 40.7128))' )`, id, uuid.New().String(), uuid.New().String(), uuid.New().String(), uuid.New().String(), uuid.New().String(), uuid.New().String())