parallelize some tests

These tests seem likely to be safe to run together, so let's.
This commit is contained in:
Seebs 2022-08-23 13:34:02 -05:00 committed by seebs
parent ebef51daa0
commit 33bd22a7cf

View file

@ -7340,7 +7340,9 @@ func TestMissingKeyRegression(t *testing.T) {
func TestVariousQueries(t *testing.T) {
for _, clusterSize := range []int{1, 3, 5} {
clusterSize := clusterSize
// the VariousQueries tests should be able to run in parallel with each other.
t.Run(fmt.Sprintf("%d-node", clusterSize), func(t *testing.T) {
t.Parallel()
c := test.MustRunCluster(t, clusterSize)
defer c.Close()