pull/5512/head
Salva Corts 4 years ago committed by GitHub
parent d6d7de4edc
commit 5237a348fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      clients/pkg/promtail/targets/lokipush/pushtarget_test.go

@ -194,7 +194,7 @@ func TestPlaintextPushTarget(t *testing.T) {
require.Equal(t, expectedLabels, eh.Received()[0].Labels)
// Timestamp is always set in the handler, we expect received timestamps to be slightly higher than the timestamp when we started sending logs.
require.GreaterOrEqual(t, ts.Unix(), eh.Received()[99].Timestamp.Unix())
require.GreaterOrEqual(t, eh.Received()[99].Timestamp.Unix(), ts.Unix())
_ = pt.Stop()

Loading…
Cancel
Save