Set LD_LIBRARY_PATH for tests

This commit is contained in:
Konstantin Knizhnik
2021-04-08 20:33:51 +03:00
parent ba4f8e94aa
commit 542dffa4a6

View File

@@ -178,6 +178,7 @@ impl PageServerNode {
.arg("--skip-recovery")
.env_clear()
.env("PATH", PG_BIN_DIR.to_str().unwrap()) // path to postres-wal-redo binary
.env("LD_LIBRARY_PATH", PG_LIB_DIR.to_str().unwrap())
.status()
.expect("failed to start pageserver");