From c80469b50bd6f97d98ab22b48ac4b6481020a1df Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Tue, 22 Nov 2022 11:55:56 -0500 Subject: [PATCH] Handle the Windows waker too. --- src/allmydata/test/common_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/common_system.py b/src/allmydata/test/common_system.py index a6b239005..ca2904b53 100644 --- a/src/allmydata/test/common_system.py +++ b/src/allmydata/test/common_system.py @@ -655,7 +655,7 @@ async def spin_until_cleanup_done(value=None, timeout=10): else: # Normal reactor return len([r for r in reactor.getReaders() - if r.__class__.__name__ not in ("_UnixWaker", "_SIGCHLDWaker")] + if r.__class__.__name__ not in ("_UnixWaker", "_SIGCHLDWaker", "_SocketWaker")] ) + len(reactor.getWriters()) for i in range(timeout * 1000):