From cdc19ad5fa04431ab65b44d46dde9560e448daf8 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 10 Aug 2019 18:58:47 +0100 Subject: [PATCH] Add in 5 minute timeout for comparison tests. --- development/compare-vol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/compare-vol.py b/development/compare-vol.py index 7399b4549..5b6ab7f23 100644 --- a/development/compare-vol.py +++ b/development/compare-vol.py @@ -50,7 +50,7 @@ class VolatilityTest: os.chdir(self.path) cmd = self.plugin_cmd(plugin, image) start_time = time.perf_counter() - completed = subprocess.run(cmd, cwd = self.path, capture_output = True) + completed = subprocess.run(cmd, cwd = self.path, capture_output = True, timeout = 300) end_time = time.perf_counter() total_time = end_time - start_time print(" Tested {} {} with image {}: {}".format(self.short_name, plugin.name, image.filepath, total_time))