Merge pull request #175 from prometheus/refactor/tests/affix-timezone

Convert the TestInstant value into UTC.
This commit is contained in:
Matt T. Proud 2013-04-23 10:03:54 -07:00
commit 5f773cc332

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) {