Skip to content

fix data race of tests

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

86.25% of diff hit (target 74.27%)

View this Pull Request on Codecov

86.25% of diff hit (target 74.27%)

Annotations

Check warning on line 277 in server/cluster/cluster.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/cluster/cluster.go#L277

Added line #L277 was not covered by tests

Check warning on line 297 in server/cluster/cluster.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/cluster/cluster.go#L297

Added line #L297 was not covered by tests

Check warning on line 312 in server/cluster/scheduling_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/cluster/scheduling_controller.go#L311-L312

Added lines #L311 - L312 were not covered by tests

Check warning on line 319 in server/cluster/scheduling_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/cluster/scheduling_controller.go#L318-L319

Added lines #L318 - L319 were not covered by tests

Check warning on line 354 in server/cluster/scheduling_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/cluster/scheduling_controller.go#L353-L354

Added lines #L353 - L354 were not covered by tests

Check warning on line 361 in server/cluster/scheduling_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/cluster/scheduling_controller.go#L360-L361

Added lines #L360 - L361 were not covered by tests

Check warning on line 403 in server/cluster/scheduling_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/cluster/scheduling_controller.go#L402-L403

Added lines #L402 - L403 were not covered by tests

Check warning on line 410 in server/cluster/scheduling_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/cluster/scheduling_controller.go#L409-L410

Added lines #L409 - L410 were not covered by tests

Check warning on line 431 in server/cluster/scheduling_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/cluster/scheduling_controller.go#L430-L431

Added lines #L430 - L431 were not covered by tests