mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
Revert "lib/storage: add missing (AccountID, ProjectID) in MetricName.String() test"
This reverts commit f3e80eb70e493620e42a0cc22a62c9af75076c77, since it isn't needed for single-node version of VictoriaMetrics
This commit is contained in:
parent
ace969d595
commit
357f886f97
1 changed files with 2 additions and 4 deletions
|
@ -15,10 +15,8 @@ func TestMetricNameString(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
f(&MetricName{
|
f(&MetricName{
|
||||||
AccountID: 123,
|
|
||||||
ProjectID: 456,
|
|
||||||
MetricGroup: []byte("foobar"),
|
MetricGroup: []byte("foobar"),
|
||||||
}, "AccountID=123, ProjectID=456, foobar{}")
|
}, "foobar{}")
|
||||||
f(&MetricName{
|
f(&MetricName{
|
||||||
MetricGroup: []byte("abc"),
|
MetricGroup: []byte("abc"),
|
||||||
Tags: []Tag{
|
Tags: []Tag{
|
||||||
|
@ -31,7 +29,7 @@ func TestMetricNameString(t *testing.T) {
|
||||||
Value: []byte("123"),
|
Value: []byte("123"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}, `AccountID=0, ProjectID=0, abc{baz="123",foo="bar"}`)
|
}, `abc{baz="123",foo="bar"}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestMetricNameSortTags(t *testing.T) {
|
func TestMetricNameSortTags(t *testing.T) {
|
||||||
|
|
Loading…
Reference in a new issue