Skip to content

Add unit tests for failure domains

Codecov / codecov/patch succeeded Nov 30, 2023 in 1s

76.27% of diff hit (target 75.00%)

View this Pull Request on Codecov

76.27% of diff hit (target 75.00%)

Annotations

Check warning on line 192 in controllers/helpers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/helpers.go#L192

Added line #L192 was not covered by tests

Check warning on line 262 in controllers/nutanixcluster_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/nutanixcluster_controller.go#L261-L262

Added lines #L261 - L262 were not covered by tests

Check warning on line 579 in controllers/nutanixmachine_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/nutanixmachine_controller.go#L579

Added line #L579 was not covered by tests

Check warning on line 582 in controllers/nutanixmachine_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/nutanixmachine_controller.go#L581-L582

Added lines #L581 - L582 were not covered by tests

Check warning on line 920 in controllers/nutanixmachine_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/nutanixmachine_controller.go#L918-L920

Added lines #L918 - L920 were not covered by tests

Check warning on line 922 in controllers/nutanixmachine_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/nutanixmachine_controller.go#L922

Added line #L922 was not covered by tests

Check warning on line 938 in controllers/nutanixmachine_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/nutanixmachine_controller.go#L936-L938

Added lines #L936 - L938 were not covered by tests

Check warning on line 941 in controllers/nutanixmachine_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controllers/nutanixmachine_controller.go#L941

Added line #L941 was not covered by tests