Commit 24272171 authored by Remi Mommsen's avatar Remi Mommsen Committed by Remi Mommsen
Browse files

references #144: disbale the lock for unit tests, which runs several RUs/BUs on the same machine

parent c0e8ebee
......@@ -215,6 +215,8 @@ class RU(Context):
app = Application.Application('evb::RU',RU.instance,properties)
app.params['tid'] = str(10+RU.instance)
app.params['id'] = str(50+RU.instance)
if 'useLock' not in (p[0] for p in properties):
properties.append(('useLock','boolean','false'));
app.params['network'] = 'evb'
inputSource = app.getInputSource()
if inputSource == "Socket":
......@@ -317,6 +319,8 @@ class BU(Context):
app.params['tid'] = str(100+BU.instance)
app.params['id'] = str(100+BU.instance)
app.params['network'] = 'evb'
if 'useLock' not in (p[0] for p in properties):
properties.append(('useLock','boolean','false'));
self.applications.append(app)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment