@@ -377,8 +377,6 @@ func TestCompactor_WriteSeries_e2e(t *testing.T) {
377377 },
378378 })},
379379 expected : []seriesSamples {
380- {lset : labels.Labels {{Name : "a" , Value : "" }, {Name : "foo" , Value : "bat" }},
381- chunks : [][]sample {{{0 , 0 }, {1 , 1 }, {2 , 2 }}, {{10 , 11 }, {11 , 11 }, {20 , 20 }}}},
382380 {lset : labels.Labels {{Name : "a" , Value : "1" }},
383381 chunks : [][]sample {{{0 , 0 }, {1 , 1 }, {2 , 2 }}, {{10 , 11 }, {11 , 11 }, {20 , 20 }}}},
384382 {lset : labels.Labels {{Name : "a" , Value : "2" }},
@@ -390,11 +388,11 @@ func TestCompactor_WriteSeries_e2e(t *testing.T) {
390388 {lset : labels.Labels {{Name : "foo" , Value : "bat" }},
391389 chunks : [][]sample {{{0 , 0 }, {1 , 1 }, {2 , 2 }}, {{10 , 11 }, {11 , 11 }, {20 , 20 }}}},
392390 },
393- expectedChanges : "Deleted {a=\" 2\" , foo=\" bar\" } [{0 20}]\n Deleted {a=\" 3\" , foo=\" baz\" } [{0 20}]\n " ,
391+ expectedChanges : "Deleted {a=\" \" , foo= \" bat \" } [{0 20}] \n Deleted {a= \" 2\" , foo=\" bar\" } [{0 20}]\n Deleted {a=\" 3\" , foo=\" baz\" } [{0 20}]\n " ,
394392 expectedStats : tsdb.BlockStats {
395- NumSamples : 36 ,
396- NumSeries : 6 ,
397- NumChunks : 12 ,
393+ NumSamples : 30 ,
394+ NumSeries : 5 ,
395+ NumChunks : 10 ,
398396 },
399397 },
400398 } {
0 commit comments