Skip to content

Commit

Permalink
Cherry-pick wait_for_tests fix from ESMCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfouca committed Oct 4, 2017
1 parent 30f6af8 commit 47d3e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cime/scripts/lib/CIME/wait_for_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def create_cdash_test_xml(results, cdash_build_name, cdash_build_group, utc_time
site_elem = xmlet.Element("Site")

if ("JENKINS_START_TIME" in os.environ):
time_info_str = "Total testing time: {:d} seconds".format(current_time - int(os.environ["JENKINS_START_TIME"]))
time_info_str = "Total testing time: {:d} seconds".format(int(current_time) - int(os.environ["JENKINS_START_TIME"]))
else:
time_info_str = ""

Expand Down

0 comments on commit 47d3e20

Please sign in to comment.