Skip to content

Commit a7a34e0

Browse files
committed
tests: fix socket ResourceWarning in debuginfod tests
We need to close the socket. Signed-off-by: Omar Sandoval <[email protected]>
1 parent 475219c commit a7a34e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: tests/test_debug_info.py

+1
Original file line numberDiff line numberDiff line change
@@ -2427,6 +2427,7 @@ def tearDownClass(cls):
24272427
cls.server.socket.shutdown(socket.SHUT_RD)
24282428
cls.server.shutdown()
24292429
cls.server_thread.join()
2430+
cls.server.server_close()
24302431

24312432
def setUp(self):
24322433
self.prog = Program()

0 commit comments

Comments
 (0)