Skip to content

Commit 00aa571

Browse files
committed
fix: coordinator lock_info_primary_testnet and lock_info_other_testnet run on windows. Now 'cargo test testnet' ends succesfully on windows os, #5930
1 parent 1e01c13 commit 00aa571

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stackslib/src/net/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2877,9 +2877,10 @@ pub mod test {
28772877
pub fn test_path(config: &TestPeerConfig) -> String {
28782878
let random = thread_rng().gen::<u64>();
28792879
let random_bytes = to_hex(&random.to_be_bytes());
2880+
let multi_os_friendly_name = config.test_name.replace("::", ".");
28802881
format!(
28812882
"/tmp/stacks-node-tests/units-test-peer/{}-{}",
2882-
&config.test_name, random_bytes
2883+
&multi_os_friendly_name, random_bytes
28832884
)
28842885
}
28852886

0 commit comments

Comments
 (0)