From 4f67c2feabe78ab7ab14f24733d763893af1675f Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 23 Sep 2022 11:45:21 +1000 Subject: [PATCH] Don't replace the state path in RPC tests --- zebrad/tests/common/launch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebrad/tests/common/launch.rs b/zebrad/tests/common/launch.rs index 65854fc0dc4..3bf9dcd14d5 100644 --- a/zebrad/tests/common/launch.rs +++ b/zebrad/tests/common/launch.rs @@ -242,7 +242,7 @@ pub fn spawn_zebrad_for_rpc + std::fmt::Debug>( // Writes a configuration that has RPC listen_addr set (if needed). // If the state path env var is set, uses it in the config. let zebrad = testdir()? - .with_config(&mut config)? + .with_exact_config(&config)? .spawn_child(args!["start"])? .bypass_test_capture(true) .with_timeout(test_type.zebrad_timeout())