smaller clusters to take less memory... test-race getting oom killed

This commit is contained in:
Matthew Jaffee 2021-12-08 17:12:50 -06:00
parent 081184f436
commit e8972e437e

View file

@ -7016,7 +7016,7 @@ func TestMissingKeyRegression(t *testing.T) {
// (single and multi-node clusters, different endpoints for the
// queries (HTTP, GRPC, Postgres), etc.).
func TestVariousQueries(t *testing.T) {
for _, clusterSize := range []int{1, 3, 7} {
for _, clusterSize := range []int{1, 3, 5} {
clusterSize := clusterSize
t.Run(fmt.Sprintf("%d-node", clusterSize), func(t *testing.T) {
c := test.MustRunCluster(t, clusterSize)
@ -7045,7 +7045,7 @@ func backupTest(t *testing.T, c *test.Cluster, index string) {
backupDir := backupCluster(t, c, index)
cnew := test.MustRunCluster(t, 3) // this way we test 1->3 3->3 7->3
cnew := test.MustRunCluster(t, 3) // this way we test 1->3 3->3 5->3
defer cnew.Close()
restoreCluster(t, backupDir, cnew)