补提交(去重库收口): 上一笔漏了 DuplicateSubmissionContractTest 的 filter 双参
上一笔按 pathspec 提交 22 个文件时,把这支从目录名(modules/task/contract)误判成
别人的在飞件——它其实是 CollectDataBatchQuery.filter(rows, ownerUserId) 的调用方之一。
后果是干净检出 5ccf3c89 后 mvn test-compile 直接失败(主树工作树里编译得过,
因为那棵树同时带着别人的未提交件,把漏项盖住了)。
出包用 detached worktree 才暴露这件事:主树"绿"不等于 commit 自洽。
This commit is contained in:
+1
-1
@@ -140,7 +140,7 @@ class DuplicateSubmissionContractTest {
|
||||
}).when(taskChunkMapper).insert(any(TaskChunkEntity.class));
|
||||
CollectDataResultRowVo row = new CollectDataResultRowVo();
|
||||
row.setAsin("B0DUP1234");
|
||||
lenient().when(collectDataBatchQuery.filter(any())).thenReturn(
|
||||
lenient().when(collectDataBatchQuery.filter(any(), any())).thenReturn(
|
||||
new CollectDataBatchQuery.FilterResult(List.of(row), 0, 0));
|
||||
lenient().when(brandBatchFilter.filter(any())).thenReturn(
|
||||
new CollectDataBrandBatchFilter.BrandBatchOutcome(List.of(), List.of(), List.of(row)));
|
||||
|
||||
Reference in New Issue
Block a user