mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
test: fix repeated random partition name (#35805)
/kind improvement Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
This commit is contained in:
parent
cb49b32358
commit
f068729a26
@ -115,7 +115,7 @@ func TestPartitionsNumExceedsMax(t *testing.T) {
|
||||
// create multi partitions
|
||||
for i := 0; i < common.MaxPartitionNum-1; i++ {
|
||||
// create par
|
||||
parName := common.GenRandomString("par", 4)
|
||||
parName := fmt.Sprintf("par_%d", i)
|
||||
err := mc.CreatePartition(ctx, client.NewCreatePartitionOption(schema.CollectionName, parName))
|
||||
common.CheckErr(t, err, true)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user