diff --git a/selftests/functional/test_utils.py b/selftests/functional/test_utils.py index 746fa620cbacade4b2d65e7d017cf46dc81ae217..bc3a1935d75ffacc643b6183ae231ea58ffe69bc 100644 --- a/selftests/functional/test_utils.py +++ b/selftests/functional/test_utils.py @@ -142,6 +142,7 @@ class ProcessTest(unittest.TestCase): proc = process.SubProcess('%s 1' % self.fake_vmstat) proc.start() time.sleep(3) + proc.terminate() proc.wait(timeout=1) stdout = proc.get_stdout().decode() self.assertIn('memory', stdout, 'result: %s' % stdout)