mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-05 20:42:54 +00:00
## Problem The test for logical replication used the year-old versions of ClickHouse and Debezium so that we may miss problems related to up-to-date versions. ## Summary of changes The ClickHouse version has been updated to 24.8. The Debezium version has been updated to the latest stable one, 3.1.3Final. Some problems with locally running the Debezium test have been fixed. --------- Co-authored-by: Alexey Masterov <alexey.masterov@databricks.com> Co-authored-by: Alexander Bayandin <alexander@neon.tech>
28 lines
944 B
Markdown
28 lines
944 B
Markdown
# Logical replication tests
|
|
|
|
> [!NOTE]
|
|
> Neon project should have logical replication enabled:
|
|
>
|
|
> https://neon.tech/docs/guides/logical-replication-postgres#enable-logical-replication-in-the-source-neon-project
|
|
|
|
## Clickhouse
|
|
|
|
```bash
|
|
export BENCHMARK_CONNSTR=postgres://user:pass@ep-abc-xyz-123.us-east-2.aws.neon.build/neondb
|
|
export CLICKHOUSE_PASSWORD=ch_password123
|
|
|
|
docker compose -f test_runner/logical_repl/clickhouse/docker-compose.yml up -d
|
|
./scripts/pytest -m remote_cluster -k 'test_clickhouse[release-pg17]'
|
|
docker compose -f test_runner/logical_repl/clickhouse/docker-compose.yml down
|
|
```
|
|
|
|
## Debezium
|
|
|
|
```bash
|
|
export BENCHMARK_CONNSTR=postgres://user:pass@ep-abc-xyz-123.us-east-2.aws.neon.build/neondb
|
|
|
|
docker compose -f test_runner/logical_repl/debezium/docker-compose.yml up -d
|
|
./scripts/pytest -m remote_cluster -k 'test_debezium[release-pg17]'
|
|
docker compose -f test_runner/logical_repl/debezium/docker-compose.yml down
|
|
```
|