mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 05:22:56 +00:00
## Problem Tests for logical replication (on Staging) have been failing for some time because logical replication is not enabled for them. This issue occurred after switching to an org API key with a different default setting, where logical replication was not enabled by default. ## Summary of changes - Add `enable_logical_replication` input to `actions/neon-project-create` - Enable logical replication in `test-logical-replication` job
27 lines
870 B
Markdown
27 lines
870 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
|
|
|
|
docker compose -f test_runner/logical_repl/clickhouse/docker-compose.yml up -d
|
|
./scripts/pytest -m remote_cluster -k test_clickhouse
|
|
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
|
|
docker compose -f test_runner/logical_repl/debezium/docker-compose.yml down
|
|
```
|