Skip to content

Commit

Permalink
PUBDEV-1843: Grid testing. Added print statement to show unit test ru…
Browse files Browse the repository at this point in the history
…n time in secs.
  • Loading branch information
wendycwong committed Apr 29, 2016
1 parent eceee7c commit 091e388
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/findLongUnitTestRunTime.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def run_commands(command, number_to_run, temp_file):
test_time = temp_string[2]
try:
runtime = float(test_time[:-1])

print("Unit test run time is {0}".format(runtime))
if runtime > g_max_runtime_secs:
g_finished_this_unit_test = True

Expand Down

0 comments on commit 091e388

Please sign in to comment.