File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
tests/integration/ha_tests Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -902,6 +902,7 @@ async def create_test_data(connection_string):
902
902
assert data [0 ] == "some data"
903
903
connection .close ()
904
904
905
+
905
906
async def get_last_added_unit (ops_test , app , prev_units ):
906
907
curr_units = [unit .name for unit in ops_test .model .applications [app ].units ]
907
908
new_unit = list (set (curr_units ) - set (prev_units ))[0 ]
Original file line number Diff line number Diff line change 35
35
fetch_cluster_members ,
36
36
get_controller_machine ,
37
37
get_db_connection ,
38
+ get_last_added_unit ,
38
39
get_patroni_setting ,
39
40
get_primary ,
40
41
get_unit_ip ,
54
55
storage_type ,
55
56
update_restart_condition ,
56
57
validate_test_data ,
57
- wait_network_restore , get_last_added_unit ,
58
+ wait_network_restore ,
58
59
)
59
60
60
61
logger = logging .getLogger (__name__ )
You can’t perform that action at this time.
0 commit comments