From a9412a0af05236749417be809c2f13f949b86ead Mon Sep 17 00:00:00 2001
From: Philip Abbet <philip.abbet@idiap.ch>
Date: Mon, 23 Jan 2017 11:13:39 +0100
Subject: [PATCH] Impose a timeout on tests executing an algorithm inside a
 docker container

---
 beat/core/test/test_execution.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/beat/core/test/test_execution.py b/beat/core/test/test_execution.py
index 7f384fa4..a660f99c 100644
--- a/beat/core/test/test_execution.py
+++ b/beat/core/test/test_execution.py
@@ -130,7 +130,7 @@ class TestExecution(unittest.TestCase):
       assert executor.valid, '\n  * %s' % '\n  * '.join(executor.errors)
 
       with executor:
-        result = executor.process(self.host)
+        result = executor.process(self.host, timeout_in_minutes=1)
         assert result
         assert 'status' in result
         assert 'stdout' in result
-- 
GitLab