Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
  • Loading branch information
ThreadDao committed Aug 7, 2023
1 parent 85aed5f commit 6f9c383
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/testcases/resource_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ func resetRgs(t *testing.T, ctx context.Context, mc *base.MilvusClient) {
// drop rg
errDrop := mc.DropResourceGroup(ctx, rg)
common.CheckErr(t, errDrop, true)
} else if rg == common.DefaultRgName {
collections, _ := mc.ListCollections(ctx)
for _, coll := range collections {
err := mc.DropCollection(ctx, coll.Name)
common.CheckErr(t, err, true)
}
}
}

Expand Down

0 comments on commit 6f9c383

Please sign in to comment.