@@ -157,13 +157,14 @@ async def test_stress_parallel_reported_property_updates(
157157 )
158158 @pytest .mark .it ("Can receive continuous desired property updates that were sent one-at-a-time" )
159159 async def test_stress_serial_desired_property_updates (
160- self , client , service_helper , toxic , iteration_count , event_loop , leak_tracker
160+ self , client , service_helper , toxic , iteration_count , leak_tracker
161161 ):
162162 """
163163 Update desired properties, one at a time, and verify that the desired property arrives
164164 at the client before the next update.
165165 """
166166 leak_tracker .set_initial_object_list ()
167+ event_loop = asyncio .get_running_loop ()
167168
168169 patches = asyncio .Queue ()
169170
@@ -200,13 +201,14 @@ async def handle_on_patch_received(patch):
200201 "Can receive continuous desired property updates that may have been sent in parallel"
201202 )
202203 async def test_stress_parallel_desired_property_updates (
203- self , client , service_helper , toxic , iteration_count , batch_size , event_loop , leak_tracker
204+ self , client , service_helper , toxic , iteration_count , batch_size , leak_tracker
204205 ):
205206 """
206207 Update desired properties in batches. Each batch updates `batch_size` properties,
207208 with each property being updated in it's own `PATCH`.
208209 """
209210 leak_tracker .set_initial_object_list ()
211+ event_loop = asyncio .get_running_loop ()
210212
211213 patches = asyncio .Queue ()
212214
0 commit comments