DescriptionAdded timezone info for the start date for the fake commits.
Mock commits are generated starting from 1970-01-01 00:00 in the local
timezone, which in GMT represent to time before the epoch. When datetime
objects are converted to Unix timestamp (seconds since epoch), they
generate very large numbers that do not fit into an int and are
converted to long instead. That broke a test, which validated that the
timestamp is not an int. Furthermore, Git hashes for the commit differed
because actual timestamps were different in each timezone.
R=agable@chromium.org, iannucci@chromium.org
Committed: https://chromium.googlesource.com/infra/testing/testing_support/+/01a4a301660003ca7b9a16d3841ecd4c090ea526
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 1
Messages
Total messages: 8 (3 generated)
|