mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
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:
parent
937be623f7
commit
b2e56a2bc3
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue