Skip to content

add unittests for ratelimits.go file

Codecov / codecov/patch succeeded Sep 24, 2024 in 0s

79.31% of diff hit (target 65.24%)

View this Pull Request on Codecov

79.31% of diff hit (target 65.24%)

Annotations

Check warning on line 290 in controller/linodemachine_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controller/linodemachine_controller.go#L289-L290

Added lines #L289 - L290 were not covered by tests

Check warning on line 308 in controller/linodemachine_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controller/linodemachine_controller.go#L308

Added line #L308 was not covered by tests

Check warning on line 322 in controller/linodemachine_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controller/linodemachine_controller.go#L322

Added line #L322 was not covered by tests

Check warning on line 68 in controller/linodemachine_controller_helpers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controller/linodemachine_controller_helpers.go#L67-L68

Added lines #L67 - L68 were not covered by tests

Check warning on line 70 in controller/linodemachine_controller_helpers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controller/linodemachine_controller_helpers.go#L70

Added line #L70 was not covered by tests

Check warning on line 78 in util/ratelimits.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

util/ratelimits.go#L78

Added line #L78 was not covered by tests