Skip to content

Commit 956c3d9

Browse files
well
1 parent 7c063af commit 956c3d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/acceptance/peadm_spec/plans/test_replace_failed_postgres.pp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
out::message("Failed PostgreSQL host: ${failed_postgresql_host}")
1212
out::message("Replacement PostgreSQL host: ${replacement_postgresql_host}")
1313

14+
wait_until_available($primary_host)
15+
wait_until_available($replica_host)
16+
wait_until_available($working_postgresql_host)
17+
wait_until_available($failed_postgresql_host)
18+
wait_until_available($replacement_postgresql_host)
19+
1420
$primary_fqdn = run_command('hostname -f', $primary_host).first['stdout'].chomp
1521
$replica_fqdn = run_command('hostname -f', $replica_host).first['stdout'].chomp
1622
$working_postgres_fqdn = run_command('hostname -f', $working_postgresql_host).first['stdout'].chomp

0 commit comments

Comments
 (0)