[Bug]: TestSparse_invalid_insert is flaky #32766
Labels
kind/bug
Issues or changes related a bug
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Is there an existing issue for this?
Environment
- Milvus version: master
Current Behavior
TestSparse_invalid_insert
is flaky.The test was originally designed to test against negative sparse vector index, but we later changed to use
uint32
instead ofint32
as the index type, thus it became impossible to have a negative index: negative int32 is a super large uint32, which is legal.This test tried to catch illegal negative index by setting the first index of the first row to
-10
and verify the insertion to fail. The reason the test is flaky:uint32
, it is a very large value, violating theindexes in the same row must be sorted
rule, causing the insertion to fail and the test to pass.Expected Behavior
No response
Steps To Reproduce
No response
Milvus Log
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: