Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 69af6d2

Browse files
shanson7Aergonus
authored andcommittedJan 30, 2018
Make summarize stable
1 parent 3fb42e9 commit 69af6d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎expr/func_summarize_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ func TestSummarizeMisAligned(t *testing.T) {
485485
testSummarize("MisAligned Multiple", input, outputMax[1], "10s", "max", true, t)
486486
}
487487

488-
func testSummarizeExtendedRequest(t *testing.T) {
488+
func TestSummarizeExtendedRequest(t *testing.T) {
489489
var csum, cmax = []schema.Point{
490490
{Val: 10, Ts: 10},
491491
},
@@ -554,7 +554,7 @@ func testSummarizeExtendedRequest(t *testing.T) {
554554
testSummarize("Extended Request", input, outputMax[1], "60s", "max", true, t)
555555
}
556556

557-
func testSummarizeAlignToFrom(t *testing.T) {
557+
func TestSummarizeAlignToFrom(t *testing.T) {
558558
var aligned30 = []schema.Point{
559559
{Val: 1, Ts: 30},
560560
{Val: 2, Ts: 60},

‎expr/funcs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func init() {
7373
"stddevSeries": {NewAggregateConstructor("stddev", crossSeriesStddev), true},
7474
"sum": {NewAggregateConstructor("sum", crossSeriesSum), true},
7575
"sumSeries": {NewAggregateConstructor("sum", crossSeriesSum), true},
76-
"summarize": {NewSummarize, false},
76+
"summarize": {NewSummarize, true},
7777
"transformNull": {NewTransformNull, true},
7878
}
7979
}

0 commit comments

Comments
 (0)
This repository has been archived.