pass version to wal_craft.rs

This commit is contained in:
Anastasia Lubennikova
2022-09-18 21:10:00 +03:00
parent 39ad16eaa9
commit fc08062a13
3 changed files with 29 additions and 4 deletions

View File

@@ -471,7 +471,8 @@ mod tests {
.join("..")
.join("..");
let cfg = Conf {
pg_distrib_dir: top_path.join(format!("pg_install/{PG_MAJORVERSION}")),
pg_version: PG_MAJORVERSION,
pg_distrib_dir: top_path.join(format!("pg_install")),
datadir: top_path.join(format!("test_output/{}-{PG_MAJORVERSION}", test_name)),
};
if cfg.datadir.exists() {