Skip to content

Commit

Permalink
(PE-40377) add wait before post-migration checks
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmalloncares committed Feb 26, 2025
1 parent 1d434ad commit 8ab24e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/acceptance/peadm_spec/plans/test_migration.pp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
new_primary_host => $new_primary_target,
)

peadm::wait_until_service_ready('bolt-server', $new_primary_target)
peadm::wait_until_service_ready('ace-server', $new_primary_target)

# run infra status on the new primary
out::message("Running peadm::status on new primary host ${new_primary_target}")
$new_primary_status = run_plan('peadm::status', $new_primary_target, { 'format' => 'json' })
Expand Down

0 comments on commit 8ab24e7

Please sign in to comment.