Skip to content

Commit

Permalink
gotta wait for update saga to go back to running
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Jul 11, 2024
1 parent 5774087 commit abf0b15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nexus/tests/integration_tests/instances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1044,9 +1044,8 @@ async fn test_instance_migrate_v2p_and_routes(
instance_simulate_on_sled(cptestctx, nexus, original_sled_id, instance_id)
.await;
instance_simulate_on_sled(cptestctx, nexus, dst_sled_id, instance_id).await;
let instance = instance_get(&client, &instance_url).await;
instance_wait_for_state(&client, instance_id, InstanceState::Running).await;

assert_eq!(instance.runtime.run_state, InstanceState::Running);
let current_sled = nexus
.instance_sled_id(&instance_id)
.await
Expand Down

0 comments on commit abf0b15

Please sign in to comment.