@@ -2985,19 +2985,15 @@ async def test_log_remove_worker(c, s, a, b):
29852985
29862986 assert log .getvalue ().splitlines () == [
29872987 # Successful graceful
2988- f"Retire worker addresses ['{ a .address } ']" ,
2989- f"Retiring worker '{ a .address } ' (stimulus_id='graceful')" ,
2990- f"Remove worker <WorkerState '{ a .address } ', name: 0, status: "
2991- "closing_gracefully, memory: 2, processing: 1> (stimulus_id='graceful')" ,
2988+ f"Retire worker addresses (stimulus_id='graceful') ['{ a .address } ']" ,
2989+ f"Remove worker addr: { a .address } name: { a .name } (stimulus_id='graceful')" ,
29922990 f"Retired worker '{ a .address } ' (stimulus_id='graceful')" ,
29932991 # Aborted graceful
2994- f"Retire worker addresses ['{ b .address } ']" ,
2995- f"Retiring worker '{ b .address } ' (stimulus_id='graceful_abort')" ,
2992+ f"Retire worker addresses (stimulus_id='graceful_abort') ['{ b .address } ']" ,
29962993 f"Could not retire worker '{ b .address } ': unique data could not be "
29972994 "moved to any other worker (stimulus_id='graceful_abort')" ,
29982995 # Ungraceful
2999- f"Remove worker <WorkerState '{ b .address } ', name: 1, status: "
3000- "running, memory: 2, processing: 1> (stimulus_id='ungraceful')" ,
2996+ f"Remove worker addr: { b .address } name: { b .name } (stimulus_id='ungraceful')" ,
30012997 f"Removing worker '{ b .address } ' caused the cluster to lose already "
30022998 "computed task(s), which will be recomputed elsewhere: {'x'} "
30032999 "(stimulus_id='ungraceful')" ,
0 commit comments