Skip to content

Unit tests for cloud/scope/common.go #679

Unit tests for cloud/scope/common.go

Unit tests for cloud/scope/common.go #679

Triggered via pull request March 6, 2024 19:57
Status Failure
Total duration 11m 49s
Artifacts 1

build_test_ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
go-analyse: cloud/scope/common_test.go#L47
found a struct that contains a context.Context field (containedctx)
go-analyse: cloud/scope/common_test.go#L79
return with no blank line before (nlreturn)
go-analyse: cloud/scope/common_test.go#L105
return with no blank line before (nlreturn)
go-analyse: cloud/scope/common_test.go#L18
Function Test_createLinodeClient missing the call to method parallel (paralleltest)
go-analyse: cloud/scope/common_test.go#L35
Range statement for test Test_createLinodeClient missing the call to method parallel in test Run (paralleltest)
go-analyse: cloud/scope/common_test.go#L45
Function Test_getCredentialDataFromRef missing the call to method parallel (paralleltest)
go-analyse: cloud/scope/common_test.go#L152
Range statement for test Test_getCredentialDataFromRef missing the call to method parallel in test Run (paralleltest)
go-analyse: cloud/scope/common_test.go#L38
expected-actual: need to reverse actual and expected values (testifylint)
go-analyse
Process completed with exit code 2.
e2e-test
Process completed with exit code 2.
chainsaw-test
Process completed with exit code 2.
chainsaw-test
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

Artifacts

Produced during runtime
Name Size
logs Expired
65.7 KB