Skip to content

Commit d557ec8

Browse files
authored
Disable unstable test on Postgres 13. (#345)
1 parent 05f4522 commit d557ec8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/module-postgres/test/src/checkpoints.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ const checkpointTests = (factory: TestStorageFactory) => {
2323
const { pool } = context;
2424
const api = new PostgresRouteAPIAdapter(pool);
2525
const serverVersion = await context.connectionManager.getServerVersion();
26-
if (serverVersion!.compareMain('13.0.0') < 0) {
26+
if (serverVersion!.compareMain('14.0.0') < 0) {
2727
// The test is not stable on Postgres 11 or 12. See the notes on
2828
// PostgresRouteAPIAdapter.createReplicationHead() for details.
2929
// Postgres 12 is already EOL, so not worth finding a fix - just skip the tests.
30-
console.log('Skipping write checkpoint test on Postgres < 13.0.0');
30+
// Postgres 13 fares a little better, but even there the test is still unstable.
31+
// Postgres 14+ appears to have no issue.
32+
console.log('Skipping write checkpoint test on Postgres < 14.0.0');
3133
return;
3234
}
3335

0 commit comments

Comments
 (0)