diff --git a/app/vmselect/promql/exec_test.go b/app/vmselect/promql/exec_test.go index 8ddeff1aa2..00baf5b533 100644 --- a/app/vmselect/promql/exec_test.go +++ b/app/vmselect/promql/exec_test.go @@ -3587,7 +3587,7 @@ func TestExecSuccess(t *testing.T) { q := `sort(histogram_over_time(alias(label_set(rand(0)*1.3+1.1, "foo", "bar"), "xxx")[200s:5s]))` r1 := netstorage.Result{ MetricName: metricNameExpected, - Values: []float64{14, 15, 12, 13, 15, 11}, + Values: []float64{14, 16, 12, 13, 15, 11}, Timestamps: timestampsExpected, } r1.MetricName.Tags = []storage.Tag{ @@ -3617,7 +3617,7 @@ func TestExecSuccess(t *testing.T) { } r3 := netstorage.Result{ MetricName: metricNameExpected, - Values: []float64{13, 11, 16, 19, 13, 16}, + Values: []float64{13, 10, 16, 19, 13, 16}, Timestamps: timestampsExpected, } r3.MetricName.Tags = []storage.Tag{ @@ -3638,7 +3638,7 @@ func TestExecSuccess(t *testing.T) { q := `sort(sum(histogram_over_time(alias(label_set(rand(0)*1.3+1.1, "foo", "bar"), "xxx")[200s:5s])) by (vmrange))` r1 := netstorage.Result{ MetricName: metricNameExpected, - Values: []float64{14, 15, 12, 13, 15, 11}, + Values: []float64{14, 16, 12, 13, 15, 11}, Timestamps: timestampsExpected, } r1.MetricName.Tags = []storage.Tag{ @@ -3660,7 +3660,7 @@ func TestExecSuccess(t *testing.T) { } r3 := netstorage.Result{ MetricName: metricNameExpected, - Values: []float64{13, 11, 16, 19, 13, 16}, + Values: []float64{13, 10, 16, 19, 13, 16}, Timestamps: timestampsExpected, } r3.MetricName.Tags = []storage.Tag{ @@ -3688,7 +3688,7 @@ func TestExecSuccess(t *testing.T) { q := `topk_max(1, histogram_over_time(alias(label_set(rand(0)*1.3+1.1, "foo", "bar"), "xxx")[200s:5s]))` r := netstorage.Result{ MetricName: metricNameExpected, - Values: []float64{13, 11, 16, 19, 13, 16}, + Values: []float64{13, 10, 16, 19, 13, 16}, Timestamps: timestampsExpected, } r.MetricName.Tags = []storage.Tag{