SSE: Localize/Contain Errors within an Expression (#73163)
Changes SSE to not always fail all queries when one fails. Now only the query itself, and nodes that depend on it will error. --------- Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
This commit is contained in:
co-authored by
Gilles De Mey
parent
01755608db
commit
35e488b22b
@@ -7,6 +7,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/grafana/dataplane/examples"
|
||||
"github.com/grafana/grafana-plugin-sdk-go/backend"
|
||||
"github.com/grafana/grafana-plugin-sdk-go/data"
|
||||
"github.com/grafana/grafana/pkg/infra/log"
|
||||
"github.com/grafana/grafana/pkg/infra/tracing"
|
||||
@@ -44,7 +45,7 @@ func TestPassThroughDataplaneExamples(t *testing.T) {
|
||||
|
||||
func framesPassThroughService(t *testing.T, frames data.Frames) (data.Frames, error) {
|
||||
me := &mockEndpoint{
|
||||
Frames: frames,
|
||||
map[string]backend.DataResponse{"A": {Frames: frames}},
|
||||
}
|
||||
|
||||
cfg := setting.NewCfg()
|
||||
|
||||
Reference in New Issue
Block a user