Skip to content

Commit

Permalink
Fix error handling in CheckGoldenJSONResponse (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
toddtreece authored Dec 14, 2022
1 parent 66b268d commit e7064e9
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
11 changes: 8 additions & 3 deletions experimental/golden_response_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"github.com/grafana/grafana-plugin-sdk-go/backend"
"github.com/grafana/grafana-plugin-sdk-go/data"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

// CheckGoldenFramer calls CheckGoldenDataResponse using a data.Framer instead of a backend.DataResponse.
Expand Down Expand Up @@ -209,13 +210,17 @@ func CheckGoldenJSONResponse(t *testing.T, dir string, name string, dr *backend.
fpath := path.Join(dir, name+".jsonc")

expected, err := readGoldenJSONFile(fpath)
assert.NoError(t, err)
if err != nil {
return
if updateFile {
err = writeGoldenJSONFile(fpath, dr)
require.NoError(t, err)
return
}
require.Fail(t, "Error reading golden JSON file")
}

actual, err := json.Marshal(dr)
assert.NoError(t, err)
require.NoError(t, err)

assert.JSONEq(t, expected, string(actual))

Expand Down
4 changes: 2 additions & 2 deletions experimental/testdata/frame-custom-meta.golden.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ Dimensions: 1 Fields by 3 Rows


====== TEST DATA RESPONSE (arrow base64) ======
FRAME=QVJST1cxAAD/////mAEAABAAAAAAAAoADgAMAAsABAAKAAAAFAAAAAAAAAEDAAoADAAAAAgABAAKAAAACAAAAJwAAAADAAAAVAAAACgAAAAEAAAADP///wgAAAAMAAAAAAAAAAAAAAAFAAAAcmVmSWQAAAAs////CAAAABQAAAAJAAAARnJhbWUgT25lAAAABAAAAG5hbWUAAAAAVP///wgAAAAsAAAAIAAAAHsiY3VzdG9tIjp7InNvbWVWYWx1ZSI6InZhbHVlIn19AAAAAAQAAABtZXRhAAAAAAEAAAAYAAAAAAASABgAFAAAABMADAAAAAgABAAS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AAAAAAAADAAWABQAEwAMAAQADAAAABgAAAAAAAAAFAAAAAAAAAMEAAoAGAAMAAgABAAKAAAAFAAAAEgAAAADAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAAAMAAAAAAAAAAAAAAAEAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAACAAAAAwAAAGFiYwAAAAAAEAAAAAwAFAASAAwACAAEAAwAAAAQAAAALAAAADgAAAAAAAQAAQAAAIgBAAAAAAAAoAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAKAAwAAAAIAAQACgAAAAgAAABYAAAAAgAAACgAAAAEAAAAKP///wgAAAAMAAAAAAAAAAAAAAAFAAAAcmVmSWQAAABI////CAAAABQAAAAJAAAARnJhbWUgVHdvAAAABAAAAG5hbWUAAAAAAQAAABgAAAAAABIAGAAUAAAAEwAMAAAACAAEABIAAAAUAAAAqAAAAKwAAAAAAAAFqAAAAAMAAABgAAAALAAAAAQAAAC0////CAAAABAAAAAGAAAAc3RyaW5nAAAGAAAAdHN0eXBlAADY////CAAAABQAAAAJAAAAeyJhIjoiYiJ9AAAABgAAAGxhYmVscwAACAAMAAgABAAIAAAACAAAACAAAAAVAAAAeyJkaXNwbGF5TmFtZSI6IjEyMyJ9AAAABgAAAGNvbmZpZwAAAAAAAAQABAAEAAAADQAAAHNpbmdsZSBzdHJpbmcAAACgAQAAQVJST1cx
4 changes: 2 additions & 2 deletions experimental/testdata/frame-empty-custom-meta.golden.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ Dimensions: 1 Fields by 3 Rows


====== TEST DATA RESPONSE (arrow base64) ======
FRAME=QVJST1cxAAD/////iAEAABAAAAAAAAoADgAMAAsABAAKAAAAFAAAAAAAAAEDAAoADAAAAAgABAAKAAAACAAAAIgAAAADAAAAVAAAACgAAAAEAAAAIP///wgAAAAMAAAAAAAAAAAAAAAFAAAAcmVmSWQAAABA////C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ZmlnAAAAAAAABAAEAAQAAAANAAAAc2luZ2xlIHN0cmluZwAAAAAAAAD/////mAAAABQAAAAAAAAADAAWABQAEwAMAAQADAAAABgAAAAAAAAAFAAAAAAAAAMEAAoAGAAMAAgABAAKAAAAFAAAAEgAAAADAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAAAMAAAAAAAAAAAAAAAEAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAACAAAAAwAAAGFiYwAAAAAAEAAAAAwAFAASAAwACAAEAAwAAAAQAAAALAAAADgAAAAAAAQAAQAAAIgBAAAAAAAAoAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAKAAwAAAAIAAQACgAAAAgAAABYAAAAAgAAACgAAAAEAAAAKP///wgAAAAMAAAAAAAAAAAAAAAFAAAAcmVmSWQAAABI////CAAAABQAAAAJAAAARnJhbWUgVHdvAAAABAAAAG5hbWUAAAAAAQAAABgAAAAAABIAGAAUAAAAEwAMAAAACAAEABIAAAAUAAAAqAAAAKwAAAAAAAAFqAAAAAMAAABgAAAALAAAAAQAAAC0////CAAAABAAAAAGAAAAc3RyaW5nAAAGAAAAdHN0eXBlAADY////CAAAABQAAAAJAAAAeyJhIjoiYiJ9AAAABgAAAGxhYmVscwAACAAMAAgABAAIAAAACAAAACAAAAAVAAAAeyJkaXNwbGF5TmFtZSI6IjEyMyJ9AAAABgAAAGNvbmZpZwAAAAAAAAQABAAEAAAADQAAAHNpbmdsZSBzdHJpbmcAAACgAQAAQVJST1cx
2 changes: 1 addition & 1 deletion experimental/testdata/frame-json.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Dimensions: 2 Fields by 1 Rows


====== TEST DATA RESPONSE (arrow base64) ======
FRAME=QVJST1cxAAD/////oAEAABAAAAAAAAoADgAMAAsABAAKAAAAFAAAAAAAAAEEAAoADAAAAAgABAAKAAAACAAAAFgAAAACAAAAKAAAAAQ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AAYAAAAAAAAAAgAAAAAAAAAIAAAAAAAAAANAAAAAAAAAAAAAAACAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAADQAAAHsiYSI6MSwiYiI6Mn0AAAAAAAAADQAAAHsiYSI6MSwiYiI6Mn0AAAAQAAAADAAUABIADAAIAAQADAAAABAAAAAsAAAAPAAAAAAABAABAAAAmAEAAAAAAADgAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAwAAAAIAAQACgAAAAgAAABYAAAAAgAAACgAAAAEAAAABP///wgAAAAMAAAAAAAAAAAAAAAFAAAAcmVmSWQAAAAk////CAAAABQAAAAKAAAASlNPTiBmcmFtZQAABAAAAG5hbWUAAAAAAgAAAJAAAAAYAAAAAAASABgAFAATABIADAAAAAgABAASAAAAFAAAADwAAAA8AAAAAAAEATgAAAABAAAABAAAAIz///8IAAAAEAAAAAUAAABvdGhlcgAAAAYAAAB0c3R5cGUAAAAAAACE////EAAAACpqc29uLlJhd01lc3NhZ2UAABIAGAAUAAAAEwAMAAAACAAEABIAAAAUAAAARAAAAEgAAAAAAAAERAAAAAEAAAAMAAAACAAMAAgABAAIAAAACAAAABAAAAAFAAAAb3RoZXIAAAAGAAAAdHN0eXBlAAAAAAAABAAEAAQAAAAPAAAAanNvbi5SYXdNZXNzYWdlALgBAABBUlJPVzE=
Loading

0 comments on commit e7064e9

Please sign in to comment.