From: Thierry Parmentelat Date: Thu, 22 Sep 2011 10:36:39 +0000 (+0200) Subject: bugfix X-Git-Tag: tests-5.0-29~7 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e7ae6feaa0b2e123059ab61858e03fd638028b41;p=tests.git bugfix --- diff --git a/system/Substrate.py b/system/Substrate.py index 3df5886..e26f7e5 100644 --- a/system/Substrate.py +++ b/system/Substrate.py @@ -697,12 +697,9 @@ class TestBox (Box): if not i: self.test_instances.append (TestInstance (buildname,pid)) return - if i.pid!=0: + if i.pids: print "WARNING: 2 concurrent tests run on same build %s"%buildname - i.add_pid (pid) - return - else: - i.pid=pid + i.add_pid (pid) def add_broken (self, buildname, plcindex, step): i=self.get_test(buildname)