Live: check schema equality between push messages (#34548) (#34801)

(cherry picked from commit 67028af99e)

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2021-05-27 11:20:39 +01:00
committed by GitHub
parent d41bfec2f8
commit dc27360a89
11 changed files with 54 additions and 100 deletions
+1 -2
View File
@@ -70,9 +70,8 @@ func TestReadCSV(t *testing.T) {
require.NoError(t, err)
frame := data.NewFrame("", fBool, fBool2, fNum, fStr)
frameToJSON, err := data.FrameToJSON(frame)
out, err := data.FrameToJSON(frame, data.IncludeAll)
require.NoError(t, err)
out := frameToJSON.Bytes(data.IncludeAll)
require.JSONEq(t, `{"schema":{
"fields":[