diff --git a/plugins/outputs/appdynamics/appdynamics_test.go b/plugins/outputs/appdynamics/appdynamics_test.go index c8a4fbe42..43f7a8295 100644 --- a/plugins/outputs/appdynamics/appdynamics_test.go +++ b/plugins/outputs/appdynamics/appdynamics_test.go @@ -91,7 +91,7 @@ func TestAppdynamicsOK(t *testing.T) { "foo", map[string]string{"metric_type": "bar"}, map[string]interface{}{"values": float64(7.89)}, - time.Date(2010, time.November, 10, 23, 0, 0, 0, time.UTC), + tm, ) metrics = []telegraf.Metric{m} assert.NoError(t, a.Write(metrics))