Replace transient test labels with stable identifiers

This commit is contained in:
ms2k 2026-07-19 14:27:29 +09:00
commit d0b745950b

View file

@ -132,7 +132,11 @@ impl Harness {
.expect("reset recovery test state");
let coordination = CoordinationStore::connect(
&coordination_url,
format!("{}wp17:{name}:{}:", coordination_namespace(), nonce()),
format!(
"{}attempt-recovery:{name}:{}:",
coordination_namespace(),
nonce()
),
StoreConfig {
global_limit: 32,
lease_ttl: Duration::from_secs(10),
@ -460,7 +464,11 @@ async fn coordination_partition_rolls_back_and_restart_converges() {
let proxy_url = proxy.url();
let store = CoordinationStore::connect(
&proxy_url,
format!("{}wp17:partition:{}:", coordination_namespace(), nonce()),
format!(
"{}attempt-recovery:partition:{}:",
coordination_namespace(),
nonce()
),
StoreConfig::default(),
)
.await
@ -501,7 +509,11 @@ async fn coordination_partition_rolls_back_and_restart_converges() {
let resumed_proxy = CoordinationProxy::start(upstream, Some(address)).await;
let resumed_store = CoordinationStore::connect(
&resumed_proxy.url(),
format!("{}wp17:partition:{}:", coordination_namespace(), nonce()),
format!(
"{}attempt-recovery:partition:{}:",
coordination_namespace(),
nonce()
),
StoreConfig::default(),
)
.await