aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/151
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/151')
-rwxr-xr-xtests/qemu-iotests/1515
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qemu-iotests/151 b/tests/qemu-iotests/151
index f2ff9c5..06ee358 100755
--- a/tests/qemu-iotests/151
+++ b/tests/qemu-iotests/151
@@ -263,6 +263,11 @@ class TestThrottledWithNbdExportBase(iotests.QMPTestCase):
break
except subprocess.TimeoutExpired:
self.vm.qtest(f'clock_step {1 * 1000 * 1000 * 1000}')
+ try:
+ p.kill()
+ p.stdout.close()
+ except:
+ pass
except IndexError:
pass