chore: flaky TestTransformToTableForClickHouseQueries (#5355)

This commit is contained in:
Srikanth Chekuri 2024-06-26 16:19:24 +05:30 committed by GitHub
parent daa5a05677
commit de571aa69a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -357,7 +357,8 @@ func TestTransformToTableForClickHouseQueries(t *testing.T) {
Series: []*v3.Series{ Series: []*v3.Series{
{ {
LabelsArray: []map[string]string{ LabelsArray: []map[string]string{
{"service": "frontend", "env": "prod"}, {"service": "frontend"},
{"env": "prod"},
}, },
Points: []v3.Point{ Points: []v3.Point{
{Value: 10.0}, {Value: 10.0},
@ -365,7 +366,8 @@ func TestTransformToTableForClickHouseQueries(t *testing.T) {
}, },
{ {
LabelsArray: []map[string]string{ LabelsArray: []map[string]string{
{"service": "backend", "env": "prod"}, {"service": "backend"},
{"env": "prod"},
}, },
Points: []v3.Point{ Points: []v3.Point{
{Value: 20.0}, {Value: 20.0},
@ -378,7 +380,8 @@ func TestTransformToTableForClickHouseQueries(t *testing.T) {
Series: []*v3.Series{ Series: []*v3.Series{
{ {
LabelsArray: []map[string]string{ LabelsArray: []map[string]string{
{"service": "frontend", "env": "prod"}, {"service": "frontend"},
{"env": "prod"},
}, },
Points: []v3.Point{ Points: []v3.Point{
{Value: 15.0}, {Value: 15.0},
@ -386,7 +389,8 @@ func TestTransformToTableForClickHouseQueries(t *testing.T) {
}, },
{ {
LabelsArray: []map[string]string{ LabelsArray: []map[string]string{
{"service": "backend", "env": "prod"}, {"service": "backend"},
{"env": "prod"},
}, },
Points: []v3.Point{ Points: []v3.Point{
{Value: 25.0}, {Value: 25.0},