Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Make Code Testable #697

Merged
merged 12 commits into from
Nov 10, 2023

fix Dockerfile

88d5bbb
Select commit
Loading
Failed to load commit list.
Merged

test: Make Code Testable #697

fix Dockerfile
88d5bbb
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Nov 10, 2023 in 1s

7.80% of diff hit (target 21.75%)

View this Pull Request on Codecov

7.80% of diff hit (target 21.75%)

Annotations

Check warning on line 60 in controllers/redis_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/redis_controller.go#L60

Added line #L60 was not covered by tests

Check warning on line 32 in k8sutils/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/client.go#L32

Added line #L32 was not covered by tests

Check warning on line 32 in k8sutils/finalizer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/finalizer.go#L32

Added line #L32 was not covered by tests

Check warning on line 35 in k8sutils/finalizer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/finalizer.go#L35

Added line #L35 was not covered by tests

Check warning on line 40 in k8sutils/finalizer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/finalizer.go#L39-L40

Added lines #L39 - L40 were not covered by tests

Check warning on line 143 in k8sutils/finalizer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/finalizer.go#L143

Added line #L143 was not covered by tests

Check warning on line 156 in k8sutils/finalizer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/finalizer.go#L152-L156

Added lines #L152 - L156 were not covered by tests

Check warning on line 160 in k8sutils/finalizer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/finalizer.go#L160

Added line #L160 was not covered by tests

Check warning on line 169 in k8sutils/finalizer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/finalizer.go#L169

Added line #L169 was not covered by tests

Check warning on line 188 in k8sutils/finalizer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/finalizer.go#L184-L188

Added lines #L184 - L188 were not covered by tests

Check warning on line 191 in k8sutils/finalizer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/finalizer.go#L191

Added line #L191 was not covered by tests

Check warning on line 185 in k8sutils/poddisruption.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/poddisruption.go#L180-L185

Added lines #L180 - L185 were not covered by tests

Check warning on line 202 in k8sutils/poddisruption.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/poddisruption.go#L197-L202

Added lines #L197 - L202 were not covered by tests

Check warning on line 219 in k8sutils/poddisruption.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/poddisruption.go#L214-L219

Added lines #L214 - L219 were not covered by tests

Check warning on line 235 in k8sutils/poddisruption.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/poddisruption.go#L231-L235

Added lines #L231 - L235 were not covered by tests

Check warning on line 239 in k8sutils/poddisruption.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/poddisruption.go#L239

Added line #L239 was not covered by tests

Check warning on line 290 in k8sutils/redis-sentinel.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/redis-sentinel.go#L286-L290

Added lines #L286 - L290 were not covered by tests

Check warning on line 299 in k8sutils/redis-sentinel.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/redis-sentinel.go#L299

Added line #L299 was not covered by tests

Check warning on line 35 in k8sutils/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/redis.go#L30-L35

Added lines #L30 - L35 were not covered by tests

Check warning on line 371 in k8sutils/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/redis.go#L366-L371

Added lines #L366 - L371 were not covered by tests

Check warning on line 382 in k8sutils/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/redis.go#L382

Added line #L382 was not covered by tests

Check warning on line 415 in k8sutils/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/redis.go#L410-L415

Added lines #L410 - L415 were not covered by tests

Check warning on line 25 in k8sutils/secrets.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/secrets.go#L20-L25

Added lines #L20 - L25 were not covered by tests

Check warning on line 47 in k8sutils/secrets.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/secrets.go#L44-L47

Added lines #L44 - L47 were not covered by tests

Check warning on line 50 in k8sutils/secrets.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

k8sutils/secrets.go#L50

Added line #L50 was not covered by tests