Skip to content

Commit 6e1f5c3

Browse files
authored
new fn try_instance_simulate should be behind the multicast gate (#9763)
1 parent 796cd70 commit 6e1f5c3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nexus/tests/integration_tests/instances.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9007,6 +9007,9 @@ pub async fn instance_simulate(nexus: &Arc<Nexus>, id: &InstanceUuid) {
90079007
///
90089008
/// Returns an error instead of panicking if the sled agent communication fails.
90099009
/// This is useful during test cleanup where the sled agent may be unavailable.
9010+
// This is currently only consumed by tests behind the multicast feature gate.
9011+
// If/when it has another consumer, this cfg can be removed.
9012+
#[cfg(feature = "multicast")]
90109013
pub async fn try_instance_simulate(
90119014
nexus: &Arc<Nexus>,
90129015
id: &InstanceUuid,

0 commit comments

Comments
 (0)