Skip to content

Commit

Permalink
Fixing the rest of the hard-coded app paths
Browse files Browse the repository at this point in the history
These were causing test issues, so let's fix them!

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
  • Loading branch information
rtobar committed Oct 4, 2017
1 parent d13c1cb commit 6f12383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dfms/dropmake/pg_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,12 +544,12 @@ def _create_test_drop_spec(self, oid, kwargs):
if (execTime < 0):
raise GraphException("Execution_time must be greater"\
" than 0 for Construct '%s'" % self.text)
elif app_class != 'test.graphsRepository.SleepApp':
elif app_class != 'dfms.apps.simple.SleepApp':
raise GraphException("Missing execution_time for Construct '%s'" % self.text)
else:
execTime = random.randint(3, 8)

if (app_class == 'test.graphsRepository.SleepApp'):
if (app_class == 'dfms.apps.simple.SleepApp'):
kwargs['sleepTime'] = execTime

kwargs['tw'] = execTime
Expand Down

0 comments on commit 6f12383

Please sign in to comment.