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é <berrange@redhat.com>
This commit is contained in:
parent
6ccb48ffc1
commit
d4d0ebfcc9
1 changed files with 1 additions and 0 deletions
|
|
@ -277,6 +277,7 @@ class BuiltinNBD(NBDBlockdevAddBase):
|
|||
} }
|
||||
self.client_test(filename, flatten_sock_addr(address), 'nbd-export')
|
||||
|
||||
sockfd.close()
|
||||
self._server_down()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue