Convert the TestInstant value into UTC.

For the forthcoming Curator, we don't record timezone information in
the samples, nor do we in the curation remarks.  All times are
recorded UTC.  That said, for the test environment to better match
production, the special instant should be in UTC.
This commit is contained in:
Matt T. Proud 2013-04-23 18:58:39 +02:00
parent 955708e8db
commit a32602140e

View file

@ -23,7 +23,7 @@ import (
var (
// ``hg clone https://code.google.com/p/go ; cd go ; hg log | tail -n 20``
usEastern, _ = time.LoadLocation("US/Eastern")
testInstant = time.Date(1972, 7, 18, 19, 5, 45, 0, usEastern)
testInstant = time.Date(1972, 7, 18, 19, 5, 45, 0, usEastern).In(time.UTC)
)
func testAppendSample(p MetricPersistence, s model.Sample, t test.Tester) {