mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-10 12:57:54 +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
fb3e60f88a
commit
904b19dce1
1 changed files with 4 additions and 0 deletions
|
|
@ -1177,6 +1177,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