Skip to content

Commit

Permalink
compiley-ness
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Jun 19, 2024
1 parent d2ba9ad commit aefd504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sled-agent/src/common/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ mod test {
#[test]
fn destruction_after_migration_out_does_not_transition() {
let mut state = make_migration_source_instance();
let migration_id = state.migration_out.unwrap().migration_id;
let migration_id = state.migration_out.as_ref().unwrap().migration_id;

// After a migration succeeds, the source VM appears to stop but reports
// that the migration has succeeded.
Expand Down Expand Up @@ -575,7 +575,7 @@ mod test {
#[test]
fn failure_after_migration_in_does_not_transition() {
let mut state = make_migration_target_instance();
let migration_id = state.migration_in.unwrap().migration_id;
let migration_id = state.migration_in.unwrap().as_ref().migration_id;

// Failure to migrate into an instance should mark the VMM as destroyed
// but should not change the instance's migration IDs.
Expand Down

0 comments on commit aefd504

Please sign in to comment.