Skip to content

Commit

Permalink
Potential fix for flaky test_pause_on_disk_full
Browse files Browse the repository at this point in the history
  • Loading branch information
alexole committed Aug 19, 2022
1 parent 55a4886 commit d4adeff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ def switch_wal(connection):
cur.execute("SELECT pg_switch_wal()")
else:
cur.execute("SELECT pg_switch_xlog()")
# https://github.com/postgres/postgres/commit/596ba75cb11173a528c6b6ec0142a282e42b69ec
cur.execute("SELECT txid_current()")
cur.close()

0 comments on commit d4adeff

Please sign in to comment.