OpenTSDB: Fix test (#91761)

Fix test
This commit is contained in:
Andreas Christou 2024-08-09 23:53:04 +07:00 committed by GitHub
parent 243c0935fc
commit ee18c64453
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,7 +57,7 @@ func TestOpenTsdbExecutor(t *testing.T) {
data.NewField("Time", nil, []time.Time{
time.Date(2014, 7, 16, 20, 55, 46, 0, time.UTC),
}),
data.NewField("test", map[string]string{"env": "prod", "app": "grafana"}, []float64{
data.NewField("value", map[string]string{"env": "prod", "app": "grafana"}, []float64{
50}),
)
testFrame.Meta = &data.FrameMeta{
@ -99,7 +99,7 @@ func TestOpenTsdbExecutor(t *testing.T) {
data.NewField("Time", nil, []time.Time{
time.Date(2014, 7, 16, 20, 55, 46, 0, time.UTC),
}),
data.NewField("test", map[string]string{"env": "prod", "app": "grafana"}, []float64{
data.NewField("value", map[string]string{"env": "prod", "app": "grafana"}, []float64{
50}),
)
testFrame.Meta = &data.FrameMeta{