Skip to content

fix TestImportV2 unit case

Codecov / codecov/patch failed Feb 7, 2025 in 1s

70.73% of diff hit (target 80.00%)

View this Pull Request on Codecov

70.73% of diff hit (target 80.00%)

Annotations

Check warning on line 139 in internal/datacoord/compaction_trigger_v2.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/compaction_trigger_v2.go#L138-L139

Added lines #L138 - L139 were not covered by tests

Check warning on line 185 in internal/datacoord/compaction_trigger_v2.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/compaction_trigger_v2.go#L185

Added line #L185 was not covered by tests

Check warning on line 313 in internal/datacoord/compaction_trigger_v2.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/compaction_trigger_v2.go#L313

Added line #L313 was not covered by tests

Check warning on line 353 in internal/datacoord/compaction_trigger_v2.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/compaction_trigger_v2.go#L351-L353

Added lines #L351 - L353 were not covered by tests

Check warning on line 359 in internal/datacoord/compaction_trigger_v2.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/compaction_trigger_v2.go#L357-L359

Added lines #L357 - L359 were not covered by tests

Check warning on line 193 in internal/datacoord/import_task.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/import_task.go#L192-L193

Added lines #L192 - L193 were not covered by tests

Check warning on line 200 in internal/datacoord/import_util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/import_util.go#L199-L200

Added lines #L199 - L200 were not covered by tests

Check warning on line 276 in internal/datacoord/import_util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/import_util.go#L275-L276

Added lines #L275 - L276 were not covered by tests

Check warning on line 388 in internal/datacoord/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/server.go#L387-L388

Added lines #L387 - L388 were not covered by tests

Check warning on line 1753 in internal/datacoord/services.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/services.go#L1751-L1753

Added lines #L1751 - L1753 were not covered by tests

Check warning on line 1757 in internal/datacoord/services.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/services.go#L1755-L1757

Added lines #L1755 - L1757 were not covered by tests

Check warning on line 1819 in internal/datacoord/services.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/services.go#L1818-L1819

Added lines #L1818 - L1819 were not covered by tests

Check warning on line 82 in internal/datanode/msghandlerimpl/msg_handler_impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datanode/msghandlerimpl/msg_handler_impl.go#L80-L82

Added lines #L80 - L82 were not covered by tests

Check warning on line 282 in internal/flushcommon/pipeline/flow_graph_dd_node.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/flushcommon/pipeline/flow_graph_dd_node.go#L279-L282

Added lines #L279 - L282 were not covered by tests

Check warning on line 293 in internal/flushcommon/pipeline/flow_graph_dd_node.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/flushcommon/pipeline/flow_graph_dd_node.go#L284-L293

Added lines #L284 - L293 were not covered by tests

Check warning on line 41 in internal/flushcommon/util/msg_handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/flushcommon/util/msg_handler.go#L37-L41

Added lines #L37 - L41 were not covered by tests

Check warning on line 103 in internal/proxy/task_import.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/proxy/task_import.go#L102-L103

Added lines #L102 - L103 were not covered by tests

Check warning on line 124 in internal/proxy/task_import.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/proxy/task_import.go#L122-L124

Added lines #L122 - L124 were not covered by tests

Check warning on line 130 in internal/proxy/task_import.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/proxy/task_import.go#L126-L130

Added lines #L126 - L130 were not covered by tests

Check warning on line 139 in internal/proxy/task_import.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/proxy/task_import.go#L132-L139

Added lines #L132 - L139 were not covered by tests

Check warning on line 152 in internal/proxy/task_import.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/proxy/task_import.go#L146-L152

Added lines #L146 - L152 were not covered by tests

Check warning on line 165 in internal/proxy/task_import.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/proxy/task_import.go#L162-L165

Added lines #L162 - L165 were not covered by tests

Check warning on line 187 in internal/proxy/task_import.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/proxy/task_import.go#L185-L187

Added lines #L185 - L187 were not covered by tests

Check warning on line 209 in internal/proxy/task_import.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/proxy/task_import.go#L208-L209

Added lines #L208 - L209 were not covered by tests

Check warning on line 223 in internal/proxy/task_import.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/proxy/task_import.go#L221-L223

Added lines #L221 - L223 were not covered by tests