Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Fix AttributeError caused by missing appliance_console
Browse files Browse the repository at this point in the history
The reconfigure_primary_replication_node is in the appliance_console
attribute of the appliance, not directly in appliance.
  • Loading branch information
Jaroslav Henner committed Nov 18, 2019
1 parent 03739eb commit 3adba49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cfme/tests/cli/test_appliance_console_db_restore.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,10 +552,10 @@ def test_appliance_console_restore_db_ha(request, unconfigured_appliances, app_c
fetch_v2key(appl3, appl1)
restore_db(appl1)

appl1.reconfigure_primary_replication_node(pwd)
appl2.reconfigure_standby_replication_node(pwd, appl1.hostname)
appl1.appliance_console.reconfigure_primary_replication_node(pwd)
appl2.appliance_console.reconfigure_standby_replication_node(pwd, appl1.hostname)

appl3.configure_automatic_failover(primary_ip=appl1.hostname)
appl3.appliance_console.configure_automatic_failover(primary_ip=appl1.hostname)
appl3.evm_failover_monitor.restart()

appl3.evmserverd.start()
Expand Down

0 comments on commit 3adba49

Please sign in to comment.