mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: Remove extra binlog in flaky unit test (#46841)
Fixes: #46840 The test "failure_returns_partial_file_list" had 3 binlog entries but only mocked 2 Copy calls, causing flaky behavior. Remove the unmocked third binlog to make the test deterministic. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
bc8d4c175c
commit
4719cb80ca
@ -645,7 +645,6 @@ func TestCopySegmentAndIndexFiles_ReturnsFileList(t *testing.T) {
|
||||
Binlogs: []*datapb.Binlog{
|
||||
{LogPath: "files/insert_log/111/222/333/1/10001", LogSize: 100},
|
||||
{LogPath: "files/insert_log/111/222/333/1/10002", LogSize: 200},
|
||||
{LogPath: "files/insert_log/111/222/333/1/10003", LogSize: 300},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user