From 8ff28f5b91c2f0aae4788548e37cc2bea92e4d6e Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 20 May 2020 03:06:23 +0300 Subject: [PATCH] app/vmselect/promql: update numbers after the upgrade of github.com/VictoriaMetrics/metrics from v1.11.2 to v1.11.3 --- app/vmselect/promql/exec_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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{