Skip to content

Commit

Permalink
populate golden tests with new field
Browse files Browse the repository at this point in the history
Signed-off-by: Owen Diehl <ow.diehl@gmail.com>
  • Loading branch information
owen-d committed Apr 16, 2024
1 parent 9fb6ce0 commit c496daf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pkg/querier/queryrange/codec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1691,7 +1691,8 @@ var (
},
"index": {
"postFilterChunks": 0,
"totalChunks": 0
"totalChunks": 0,
"shardsDuration": 0
},
"cache": {
"chunk": {
Expand Down
3 changes: 2 additions & 1 deletion pkg/querier/queryrange/prometheus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import (
var emptyStats = `"stats": {
"index": {
"postFilterChunks": 0,
"totalChunks": 0
"totalChunks": 0,
"shardsDuration": 0
},
"ingester" : {
"store": {
Expand Down
3 changes: 2 additions & 1 deletion pkg/util/marshal/legacy/marshal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ var queryTests = []struct {
"stats" : {
"index": {
"postFilterChunks": 0,
"totalChunks": 0
"totalChunks": 0,
"shardsDuration": 0
},
"ingester" : {
"store": {
Expand Down
3 changes: 2 additions & 1 deletion pkg/util/marshal/marshal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ import (
const emptyStats = `{
"index": {
"postFilterChunks": 0,
"totalChunks": 0
"totalChunks": 0,
"shardsDuration": 0
},
"ingester" : {
"store": {
Expand Down

0 comments on commit c496daf

Please sign in to comment.