Merge "Switch to storing run wall time in runs database"

This commit is contained in:
Jenkins 2017-01-03 16:33:54 +00:00 committed by Gerrit Code Review
commit 8fd36b64c4
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,8 @@ class SubunitRetriever(object):
logging.debug('Converting Subunit V2 stream: %s to SQL' % logging.debug('Converting Subunit V2 stream: %s to SQL' %
subunit_v2) subunit_v2)
stream = read_subunit.ReadSubunit(subunit_v2, stream = read_subunit.ReadSubunit(subunit_v2,
targets=self.extra_targets) targets=self.extra_targets,
use_wall_time=True)
results = stream.get_results() results = stream.get_results()
start_time = sorted( start_time = sorted(
[results[x]['start_time'] for x in results if x != 'run_time'])[0] [results[x]['start_time'] for x in results if x != 'run_time'])[0]