From: Daniel P. Berrangé Date: Tue, 15 Jul 2025 14:30:21 +0000 (+0100) Subject: iotests/147: ensure temporary sockets are closed before exiting X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4d0ebfcc926c11d16320d0d5accf22e3441c115;p=thirdparty%2Fqemu.git iotests/147: ensure temporary sockets are closed before exiting This avoids the python resource leak detector from issuing warnings in the iotests. Signed-off-by: Daniel P. Berrangé --- diff --git a/tests/qemu-iotests/147 b/tests/qemu-iotests/147 index 6d6f077a14d..3e14bd389a4 100755 --- a/tests/qemu-iotests/147 +++ b/tests/qemu-iotests/147 @@ -277,6 +277,7 @@ class BuiltinNBD(NBDBlockdevAddBase): } } self.client_test(filename, flatten_sock_addr(address), 'nbd-export') + sockfd.close() self._server_down()