Fix cluster size setter: expose failures

This commit is contained in:
Cody Soyland 2020-12-21 13:25:15 -06:00 committed by Nia Weiss
parent 66bc79634b
commit 649202b081
No known key found for this signature in database
GPG key ID: 895E83409BFDA1BB

View file

@ -5517,7 +5517,7 @@ func TestExecutor_Execute_DistinctFailure(t *testing.T) {
func TestExecutor_Execute_GroupBy(t *testing.T) {
groupByTest := func(t *testing.T, clusterSize int) {
c := test.MustRunCluster(t, 1)
c := test.MustRunCluster(t, clusterSize)
defer c.Close()
c.CreateField(t, "i", pilosa.IndexOptions{}, "general")
c.CreateField(t, "i", pilosa.IndexOptions{}, "sub")
@ -5924,7 +5924,7 @@ func TestExecutor_Execute_GroupBy(t *testing.T) {
})
}
for size := range []int{1, 3} {
for _, size := range []int{1, 3} {
t.Run(fmt.Sprintf("%d_nodes", size), func(t *testing.T) {
groupByTest(t, size)
})