Skip to content

[#1706] walbridge: end-to-end test harness - #1733

Open
ecleon26 wants to merge 1 commit into
pgmoneta:mainfrom
ecleon26:walbridge-e2e-harness
Open

ecleon26 wants to merge 1 commit into
pgmoneta:mainfrom
ecleon26:walbridge-e2e-harness

Conversation

@ecleon26

Copy link
Copy Markdown
Collaborator

fixes #1706

Adds test/walbridge/run.sh, which runs walbridge between a real PG18 primary and a PG19 pg_receivewal, then checks the received WAL with PG19 pg_waldump against the primary's WAL, record by record.

  • 16 workloads: heap, MultiXact, GiST, checkpoint, 20 MB record, WAL switch, primary crash/restart, receiver reconnect, 1 MB segments, every compression type, encryption
  • Each workload gets temp dirs and ports picked at run time; logs and received WAL are kept
  • Known failures are listed at the top of run.sh with their issue: xfail (always fails) or flaky (race in the code, never fails the run)
  • run.sh stream exits 0 on the current code

Run:
PG18BIN=/path/pg18/bin PG19BIN=/path/pg19/bin test/walbridge/run.sh

Related: #1707 #1708 #1709 #1710 #1711 #1712 #1713 #1714 #1715 #1716 #1717 #1718

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

walbridge: add an end-to-end test harness

1 participant