Skip to content

Commit

Permalink
test: remove any walredo dir in snapshotting
Browse files Browse the repository at this point in the history
  • Loading branch information
koivunej committed Dec 7, 2022
1 parent 9eec603 commit 56c7d15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test_runner/regress/test_compatibility.py
Expand Up @@ -215,7 +215,8 @@ def prepare_snapshot(

# Remove wal-redo temp directory
for tenant in (repo_dir / "tenants").glob("*"):
shutil.rmtree(tenant / "wal-redo-datadir.___temp")
for walredo in tenant.glob("wal-redo-datadir*.___temp"):
shutil.rmtree(walredo)

# Update paths and ports in config files
pageserver_toml = repo_dir / "pageserver.toml"
Expand Down

0 comments on commit 56c7d15

Please sign in to comment.