test: remove case skip label (#37539)

[test] remove case skip label
issue: #33952

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
This commit is contained in:
ThreadDao 2024-11-10 16:14:27 +08:00 committed by GitHub
parent 12951f0abb
commit f42869c0ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,7 +80,6 @@ func TestSearchInvalidCollectionPartitionName(t *testing.T) {
// test search empty collection -> return empty
func TestSearchEmptyCollection(t *testing.T) {
t.Skip("https://github.com/milvus-io/milvus/issues/33952")
t.Parallel()
ctx := hp.CreateContext(t, time.Second*common.DefaultTimeout)
mc := createDefaultMilvusClient(ctx, t)
@ -111,7 +110,6 @@ func TestSearchEmptyCollection(t *testing.T) {
}
func TestSearchEmptySparseCollection(t *testing.T) {
t.Skip("https://github.com/milvus-io/milvus/issues/33952")
ctx := hp.CreateContext(t, time.Second*common.DefaultTimeout)
mc := createDefaultMilvusClient(ctx, t)
@ -976,8 +974,6 @@ func TestSearchWithEmptySparseVector(t *testing.T) {
// test search from empty sparse vectors collection
func TestSearchFromEmptySparseVector(t *testing.T) {
t.Skip("https://github.com/milvus-io/milvus/issues/33952")
t.Skip("https://github.com/zilliztech/knowhere/issues/774")
idxInverted := index.NewSparseInvertedIndex(entity.IP, 0.1)
ctx := hp.CreateContext(t, time.Second*common.DefaultTimeout*2)
mc := createDefaultMilvusClient(ctx, t)
@ -1006,7 +1002,6 @@ func TestSearchFromEmptySparseVector(t *testing.T) {
insertRes, err := mc.Insert(ctx, client.NewColumnBasedInsertOption(schema.CollectionName, data...))
common.CheckErr(t, err, true)
require.EqualValues(t, common.DefaultNb, insertRes.InsertCount)
prepare.FlushData(ctx, t, mc, schema.CollectionName)
// search vector is or not empty sparse vector
vector1, _ := entity.NewSliceSparseEmbedding([]uint32{}, []float32{})