diff --git a/nexus/tests/integration_tests/instances.rs b/nexus/tests/integration_tests/instances.rs index 8b3756654cc..080dc12b314 100644 --- a/nexus/tests/integration_tests/instances.rs +++ b/nexus/tests/integration_tests/instances.rs @@ -9006,6 +9006,9 @@ pub async fn instance_simulate(nexus: &Arc, id: &InstanceUuid) { /// /// Returns an error instead of panicking if the sled agent communication fails. /// This is useful during test cleanup where the sled agent may be unavailable. +// This is currently only consumed by tests behind the multicast feature gate. +// If/when it has another consumer, this cfg can be removed. +#[cfg(feature = "multicast")] pub async fn try_instance_simulate( nexus: &Arc, id: &InstanceUuid,