Skip to content

Commit

Permalink
remove it
Browse files Browse the repository at this point in the history
  • Loading branch information
powersj committed Apr 4, 2024
1 parent c7ef7b1 commit a304bd2
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions plugins/processors/timestamp/timestamp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,26 +129,6 @@ func TestCases(t *testing.T) {
time.Unix(0, 0),
),
},
{
name: "source field is unix",
timestamp: Timestamp{
SourceField: "timestamp",
SourceFormat: "unix",
DestinationFormat: "2006-01-02T15:04:05 MST",
},
input: metric.New(
"test",
map[string]string{},
map[string]any{"timestamp": int64(1709547032)},
time.Unix(0, 0),
),
expected: metric.New(
"test",
map[string]string{},
map[string]any{"timestamp": "2024-03-04T03:10:32 MST"},
time.Unix(0, 0),
),
},
{
name: "unix_ns to unix",
timestamp: Timestamp{
Expand Down

0 comments on commit a304bd2

Please sign in to comment.