Limit size of nums to 100

This commit is contained in:
nagamocha3000 2021-02-26 20:55:36 +03:00 committed by Matt Jaffee
parent 4be9ac7554
commit 4e81fd8101
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF

View file

@ -6856,7 +6856,7 @@ func TestVariousQueries(t *testing.T) {
variousQueries(t, clusterSize)
variousQueriesOnTimeFields(t, clusterSize)
// variousQueriesOnPercentiles(t, clusterSize)
variousQueriesOnPercentiles(t, clusterSize)
})
}
}
@ -6878,8 +6878,8 @@ func variousQueriesOnPercentiles(t *testing.T, clusterSize int) {
num int64
rowKey string
}
size := 1000
nths := []float64{0.1, 0.25, 0.5, 0.75, 0.9, 0.99, 0.999}
size := 100
nths := []float64{0.1, 0.25, 0.5, 0.75, 0.9, 0.99}
testValues := make([]testValue, size)
rowKeys := [2]string{"foo", "bar"}
for i := 0; i < size; i++ {