Skip to content
Snippets Groups Projects
Commit ab2bc876 authored by Cyril Tovena's avatar Cyril Tovena Committed by Ed
Browse files

fix flaky timestamp test

parent 2a7a97d0
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ func TestTimestampPipeline(t *testing.T) {
entry := testTimestampLogLine
extracted := map[string]interface{}{}
pl.Process(lbls, extracted, &ts, &entry)
assert.Equal(t, time.Date(2012, 11, 01, 22, 8, 41, 0, time.FixedZone("", -4*60*60)), ts)
assert.Equal(t, time.Date(2012, 11, 01, 22, 8, 41, 0, time.FixedZone("", -4*60*60)).Unix(), ts.Unix())
}
func TestTimestampValidation(t *testing.T) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment