fix: remove flaky sparse integration test (#32767)

issue: https://github.com/milvus-io/milvus/issues/32766

this test is outdated, thus removing it instead of fixing it.

Signed-off-by: Buqian Zheng <zhengbuqian@gmail.com>
pull/32709/head
Buqian Zheng 2024-05-06 19:19:29 +08:00 committed by GitHub
parent b0ebc50097
commit 37a99ca23e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 15 deletions

View File

@ -170,21 +170,6 @@ func (s *SparseTestSuite) TestSparse_invalid_insert() {
sparseVecs := fVecColumn.Field.(*schemapb.FieldData_Vectors).Vectors.GetSparseFloatVector()
// negative column index is not allowed
oldIdx := typeutil.SparseFloatRowIndexAt(sparseVecs.Contents[0], 0)
var newIdx int32 = -10
binary.LittleEndian.PutUint32(sparseVecs.Contents[0][0:], uint32(newIdx))
insertResult, err = c.Proxy.Insert(ctx, &milvuspb.InsertRequest{
DbName: dbName,
CollectionName: collectionName,
FieldsData: []*schemapb.FieldData{fVecColumn},
HashKeys: hashKeys,
NumRows: uint32(rowNum),
})
s.NoError(err)
s.NotEqual(insertResult.GetStatus().GetErrorCode(), commonpb.ErrorCode_Success)
binary.LittleEndian.PutUint32(sparseVecs.Contents[0][0:], oldIdx)
// of each row, length of indices and data must equal
sparseVecs.Contents[0] = append(sparseVecs.Contents[0], make([]byte, 4)...)
insertResult, err = c.Proxy.Insert(ctx, &milvuspb.InsertRequest{