Convert seconds_since_epoch to integer.

It looks like the 400 errors when trying to upload to test-results.appspot.com is because the server expects an integer instead of a float.

BUG=chromium:325726
TBR=kjellander@webrtc.org, kwiberg@webrtc.org, pbos@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2566603003
Cr-Commit-Position: refs/heads/master@{#15504}
This commit is contained in:
ehmaldonado 2016-12-09 03:47:09 -08:00 committed by Commit bot
parent 5ad5de3716
commit 0e738d4fb2

View File

@ -197,7 +197,7 @@ class CollectTestResults(object):
# Third version of the file format. See the link in the flag description
# for details.
"version": 3,
"seconds_since_epoch": time.time(),
"seconds_since_epoch": int(time.time()),
"num_failures_by_type": {
"PASS": 0,
"FAIL": 0,