Use UTC in tests

This commit is contained in:
Jake Sanders 2019-12-17 17:36:01 +00:00
parent 81e7edd666
commit f95bccce84

View File

@ -23,7 +23,7 @@ func TestKubernetes(t *testing.T) {
os.Stderr = w os.Stderr = w
meta := make(map[string]string) meta := make(map[string]string)
write := log.Record{ write := log.Record{
Timestamp: time.Unix(0, 0), Timestamp: time.Unix(0, 0).UTC(),
Value: "Test log entry", Value: "Test log entry",
Metadata: meta, Metadata: meta,
} }