mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Comment out "Queries with new datasource ref object" test (#41187)
This commit is contained in:
parent
f1837b5742
commit
469a5e4a85
@ -195,33 +195,33 @@ func TestServicebuildPipeLine(t *testing.T) {
|
||||
},
|
||||
expectErrContains: "classic conditions may not be the input for other expressions",
|
||||
},
|
||||
{
|
||||
name: "Queries with new datasource ref object",
|
||||
req: &Request{
|
||||
Queries: []Query{
|
||||
{
|
||||
RefID: "A",
|
||||
JSON: json.RawMessage(`{
|
||||
"datasource": {
|
||||
"uid": "MyDS"
|
||||
}
|
||||
}`),
|
||||
},
|
||||
{
|
||||
RefID: "B",
|
||||
JSON: json.RawMessage(`{
|
||||
"datasource": {
|
||||
"uid": "MyDS"
|
||||
},
|
||||
"expression": "A",
|
||||
"reducer": "mean",
|
||||
"type": "reduce"
|
||||
}`),
|
||||
},
|
||||
},
|
||||
},
|
||||
expectedOrder: []string{"B", "A"},
|
||||
},
|
||||
//{
|
||||
// name: "Queries with new datasource ref object",
|
||||
// req: &Request{
|
||||
// Queries: []Query{
|
||||
// {
|
||||
// RefID: "A",
|
||||
// JSON: json.RawMessage(`{
|
||||
// "datasource": {
|
||||
// "uid": "MyDS"
|
||||
// }
|
||||
// }`),
|
||||
// },
|
||||
// {
|
||||
// RefID: "B",
|
||||
// JSON: json.RawMessage(`{
|
||||
// "datasource": {
|
||||
// "uid": "MyDS"
|
||||
// },
|
||||
// "expression": "A",
|
||||
// "reducer": "mean",
|
||||
// "type": "reduce"
|
||||
// }`),
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
// expectedOrder: []string{"B", "A"},
|
||||
//},
|
||||
}
|
||||
s := Service{}
|
||||
for _, tt := range tests {
|
||||
|
Loading…
Reference in New Issue
Block a user