Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions nexus/tests/integration_tests/instances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9006,6 +9006,9 @@ pub async fn instance_simulate(nexus: &Arc<Nexus>, 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(
Copy link
Collaborator

@zeeshanlakhani zeeshanlakhani Jan 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Nieuwejaar apologies, as I had finally had review on the other work (and it came in before). Minor, but, should we just make this #[allow(dead_code)] as it's a general function.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But, minor either way.

nexus: &Arc<Nexus>,
id: &InstanceUuid,
Expand Down
Loading