Skip to content

add more tests for get status

Codecov / codecov/patch succeeded Feb 6, 2025 in 1s

58.33% of diff hit (target 22.55%)

View this Pull Request on Codecov

58.33% of diff hit (target 22.55%)

Annotations

Check warning on line 19 in client/v1/examples/get-states/main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/v1/examples/get-states/main.go#L19

Added line #L19 was not covered by tests

Check warning on line 23 in client/v1/status.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/v1/status.go#L22-L23

Added lines #L22 - L23 were not covered by tests

Check warning on line 35 in client/v1/status.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/v1/status.go#L34-L35

Added lines #L34 - L35 were not covered by tests

Check warning on line 56 in cmd/gpud/command/status.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/gpud/command/status.go#L54-L56

Added lines #L54 - L56 were not covered by tests

Check warning on line 122 in cmd/gpud/command/status.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/gpud/command/status.go#L122

Added line #L122 was not covered by tests

Check warning on line 127 in internal/server/handlers_components.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/handlers_components.go#L127

Added line #L127 was not covered by tests

Check warning on line 203 in internal/server/handlers_components.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/handlers_components.go#L203

Added line #L203 was not covered by tests

Check warning on line 290 in internal/server/handlers_components.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/handlers_components.go#L290

Added line #L290 was not covered by tests

Check warning on line 407 in internal/server/handlers_components.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/server/handlers_components.go#L407

Added line #L407 was not covered by tests