Skip to content

test: unit test for compress

Codecov / codecov/patch succeeded Jun 6, 2024 in 0s

57.77% of diff hit (target 56.09%)

View this Pull Request on Codecov

57.77% of diff hit (target 56.09%)

Annotations

Check warning on line 145 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L145

Added line #L145 was not covered by tests

Check warning on line 235 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L232-L235

Added lines #L232 - L235 were not covered by tests

Check warning on line 239 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L237-L239

Added lines #L237 - L239 were not covered by tests

Check warning on line 243 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L241-L243

Added lines #L241 - L243 were not covered by tests

Check warning on line 251 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L245-L251

Added lines #L245 - L251 were not covered by tests

Check warning on line 254 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L254

Added line #L254 was not covered by tests

Check warning on line 261 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L257-L261

Added lines #L257 - L261 were not covered by tests

Check warning on line 268 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L263-L268

Added lines #L263 - L268 were not covered by tests

Check warning on line 278 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L271-L278

Added lines #L271 - L278 were not covered by tests

Check warning on line 536 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L536

Added line #L536 was not covered by tests

Check warning on line 548 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L544-L548

Added lines #L544 - L548 were not covered by tests

Check warning on line 551 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L550-L551

Added lines #L550 - L551 were not covered by tests

Check warning on line 583 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L582-L583

Added lines #L582 - L583 were not covered by tests

Check warning on line 698 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L698

Added line #L698 was not covered by tests

Check warning on line 704 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L704

Added line #L704 was not covered by tests

Check warning on line 58 in pkg/yurthub/cachemanager/error_keys.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/error_keys.go#L57-L58

Added lines #L57 - L58 were not covered by tests

Check warning on line 63 in pkg/yurthub/cachemanager/error_keys.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/error_keys.go#L62-L63

Added lines #L62 - L63 were not covered by tests

Check warning on line 133 in pkg/yurthub/cachemanager/error_keys.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/error_keys.go#L133

Added line #L133 was not covered by tests

Check warning on line 166 in pkg/yurthub/cachemanager/error_keys.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/error_keys.go#L165-L166

Added lines #L165 - L166 were not covered by tests

Check warning on line 176 in pkg/yurthub/cachemanager/error_keys.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/error_keys.go#L176

Added line #L176 was not covered by tests

Check warning on line 192 in pkg/yurthub/cachemanager/error_keys.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/error_keys.go#L192

Added line #L192 was not covered by tests

Check warning on line 196 in pkg/yurthub/cachemanager/error_keys.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/error_keys.go#L196

Added line #L196 was not covered by tests

Check warning on line 201 in pkg/yurthub/cachemanager/error_keys.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/error_keys.go#L200-L201

Added lines #L200 - L201 were not covered by tests

Check warning on line 213 in pkg/yurthub/cachemanager/error_keys.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/error_keys.go#L211-L213

Added lines #L211 - L213 were not covered by tests

Check warning on line 61 in pkg/yurthub/proxy/local/faketoken.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/proxy/local/faketoken.go#L61

Added line #L61 was not covered by tests