enhance: [skip e2e] change some long logs (#32309)

<img width="1042" alt="image"
src="https://github.com/milvus-io/milvus/assets/64083300/8daa9ab9-1988-4398-a92a-7d2dac2cd8cd">
change this log

Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
pull/32353/head
smellthemoon 2024-04-17 10:25:19 +08:00 committed by GitHub
parent 7deda4d5e9
commit d1ef0a81ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -101,11 +101,12 @@ func (s *BalanceTestSuit) initCollection(collectionName string, replica int, cha
} }
pks := insertResult.GetIDs().GetIntId().GetData() pks := insertResult.GetIDs().GetIntId().GetData()
expr := fmt.Sprintf("%s in [%s]", integration.Int64Field, strings.Join(lo.Map(pks, func(pk int64, _ int) string { return strconv.FormatInt(pk, 10) }), ","))
log.Info("========================delete expr==================", log.Info("========================delete expr==================",
zap.String("expr", expr), zap.Int("length of pk", len(pks)),
) )
expr := fmt.Sprintf("%s in [%s]", integration.Int64Field, strings.Join(lo.Map(pks, func(pk int64, _ int) string { return strconv.FormatInt(pk, 10) }), ","))
deleteResp, err := s.Cluster.Proxy.Delete(ctx, &milvuspb.DeleteRequest{ deleteResp, err := s.Cluster.Proxy.Delete(ctx, &milvuspb.DeleteRequest{
CollectionName: collectionName, CollectionName: collectionName,
Expr: expr, Expr: expr,