File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -865,7 +865,7 @@ async def test_wait_for_idle_with_not_enough_units(event_loop):
865865 num_units = 2 ,
866866 )
867867 with pytest .raises (jasyncio .TimeoutError ):
868- await model .wait_for_idle (timeout = 5 * 60 , wait_for_units = 3 )
868+ await model .wait_for_idle (timeout = 5 * 60 , wait_for_at_least_units = 3 )
869869
870870
871871@base .bootstrapped
@@ -885,9 +885,9 @@ async def test_wait_for_idle_more_units_than_needed(event_loop):
885885 num_units = 1 ,
886886 )
887887
888- # because the wait_for_units =1, wait_for_idle should return without timing out
888+ # because the wait_for_at_least_units =1, wait_for_idle should return without timing out
889889 # even though there are two more units that aren't active/idle
890- await model .wait_for_idle (timeout = 5 * 60 , wait_for_units = 1 , status = 'active' )
890+ await model .wait_for_idle (timeout = 5 * 60 , wait_for_at_least_units = 1 , status = 'active' )
891891
892892
893893@base .bootstrapped
@@ -902,7 +902,7 @@ async def test_wait_for_idle_with_enough_units(event_loop):
902902 channel = 'stable' ,
903903 num_units = 3 ,
904904 )
905- await model .wait_for_idle (timeout = 5 * 60 , wait_for_units = 3 )
905+ await model .wait_for_idle (timeout = 5 * 60 , wait_for_at_least_units = 3 )
906906
907907
908908@base .bootstrapped
You can’t perform that action at this time.
0 commit comments