Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions modules/module-postgres/test/src/checkpoints.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ const checkpointTests = (factory: TestStorageFactory) => {
const { pool } = context;
const api = new PostgresRouteAPIAdapter(pool);
const serverVersion = await context.connectionManager.getServerVersion();
if (serverVersion!.compareMain('13.0.0') < 0) {
if (serverVersion!.compareMain('14.0.0') < 0) {
// The test is not stable on Postgres 11 or 12. See the notes on
// PostgresRouteAPIAdapter.createReplicationHead() for details.
// Postgres 12 is already EOL, so not worth finding a fix - just skip the tests.
console.log('Skipping write checkpoint test on Postgres < 13.0.0');
// Postgres 13 fares a little better, but even there the test is still unstable.
// Postgres 14+ appears to have no issue.
console.log('Skipping write checkpoint test on Postgres < 14.0.0');
return;
}

Expand Down