Skip to content

Commit c496daf

Browse files
committed
populate golden tests with new field
Signed-off-by: Owen Diehl <[email protected]>
1 parent 9fb6ce0 commit c496daf

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

pkg/querier/queryrange/codec_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1691,7 +1691,8 @@ var (
16911691
},
16921692
"index": {
16931693
"postFilterChunks": 0,
1694-
"totalChunks": 0
1694+
"totalChunks": 0,
1695+
"shardsDuration": 0
16951696
},
16961697
"cache": {
16971698
"chunk": {

pkg/querier/queryrange/prometheus_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ import (
1515
var emptyStats = `"stats": {
1616
"index": {
1717
"postFilterChunks": 0,
18-
"totalChunks": 0
18+
"totalChunks": 0,
19+
"shardsDuration": 0
1920
},
2021
"ingester" : {
2122
"store": {

pkg/util/marshal/legacy/marshal_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ var queryTests = []struct {
5858
"stats" : {
5959
"index": {
6060
"postFilterChunks": 0,
61-
"totalChunks": 0
61+
"totalChunks": 0,
62+
"shardsDuration": 0
6263
},
6364
"ingester" : {
6465
"store": {

pkg/util/marshal/marshal_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ import (
2727
const emptyStats = `{
2828
"index": {
2929
"postFilterChunks": 0,
30-
"totalChunks": 0
30+
"totalChunks": 0,
31+
"shardsDuration": 0
3132
},
3233
"ingester" : {
3334
"store": {

0 commit comments

Comments
 (0)