Skip to content

Commit

Permalink
dont use time.Now().UnixMillisecond() due to old versions of go not s…
Browse files Browse the repository at this point in the history
…upporting it
  • Loading branch information
iamemilio committed May 26, 2022
1 parent 113bdb0 commit 141c58c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v3/newrelic/harvest_test.go
Expand Up @@ -319,7 +319,7 @@ func TestHarvestLogEventsReady(t *testing.T) {

logEvent := logEvent{
0.5,
int64(time.Now().UnixMilli()),
123456,
"INFO",
"User 'xyz' logged in",
"123456789ADF",
Expand Down Expand Up @@ -579,7 +579,7 @@ func TestMergeFailedHarvest(t *testing.T) {

logEvent := logEvent{
0.5,
int64(time.Now().UnixMilli()),
123456,
"INFO",
"User 'xyz' logged in",
"123456789ADF",
Expand Down

0 comments on commit 141c58c

Please sign in to comment.