diff --git a/test_runner/fixtures/neon_fixtures.py b/test_runner/fixtures/neon_fixtures.py index c002e11c1c..8a45033735 100644 --- a/test_runner/fixtures/neon_fixtures.py +++ b/test_runner/fixtures/neon_fixtures.py @@ -4518,11 +4518,16 @@ def check_restored_datadir_content( if pgdata_files != restored_files: # filter pg_xact and multixact files which are downloaded on demand - pgdata_files = [ - f - for f in pgdata_files - if not f.startswith("pg_xact") and not f.startswith("pg_multixact") - ] + # filter pg_notify files because....? (XXX: this is the hack that makes isolation tests pass) + def filter_expr(f): + return ( + not f.startswith("pg_xact") + and not f.startswith("pg_multixact") + and not f.startswith("pg_notify") + ) + + pgdata_files = list(filter(filter_expr, pgdata_files)) + restored_files = list(filter(filter_expr, restored_files)) if ignored_files: pgdata_files = [f for f in pgdata_files if f not in ignored_files] diff --git a/test_runner/regress/test_pg_regress.py b/test_runner/regress/test_pg_regress.py index 2a3f150fc9..e07bcf0bf0 100644 --- a/test_runner/regress/test_pg_regress.py +++ b/test_runner/regress/test_pg_regress.py @@ -235,8 +235,7 @@ def test_isolation( with capsys.disabled(): pg_bin.run(pg_isolation_regress_command, env=env_vars, cwd=runpath) - # This fails with a mismatch on `pg_multixact/offsets/0000` - # post_checks(env, test_output_dir, DBNAME, endpoint) + post_checks(env, test_output_dir, DBNAME, endpoint) # Run extra Neon-specific pg_regress-based tests. The tests and their