reduce simultaneous memory usage a bit

Delete indexes after we're done with them from subtests so that
we don't fill up on a huge number of unrelated indexes.
This commit is contained in:
Seebs 2022-08-31 16:21:14 -05:00 committed by seebs
parent 937be623f7
commit b2e56a2bc3

View file

@ -1176,6 +1176,10 @@ func runCallTest(c *test.Cluster, t *testing.T, writeQuery string, readQueries [
responses[i] = res
}
err = c.GetNode(0).API.DeleteIndex(context.TODO(), indexName)
if err != nil {
t.Fatalf("cleaning up index: %v", err)
}
return responses
}