Add basic testing APIs (#481) #163
Annotations
10 errors
golangci-lint:
gomicro/gateway/internal/gateway/config.go#L5
SA5008: unknown JSON option "optional" (staticcheck)
|
golangci-lint:
gomicro/gateway/internal/gateway/config.go#L6
SA5008: unknown JSON option "optional" (staticcheck)
|
golangci-lint:
e2e/a_ib_test.go#L28
Error return value is not checked (errcheck)
|
golangci-lint:
e2e/b_mpijob_test.go#L30
Error return value is not checked (errcheck)
|
golangci-lint:
e2e/b_mpijob_test.go#L66
Error return value is not checked (errcheck)
|
golangci-lint:
e2e/c_gpt3_test.go#L42
Error return value of `wait.For` is not checked (errcheck)
|
golangci-lint:
pkg/job/utils/podtemplate.go#L97
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
|
golangci-lint:
pkg/job/utils/podtemplate.go#L101
S1009: should omit nil check; len() for map[string]string is defined as zero (gosimple)
|
golangci-lint:
pkg/job/utils/datasetstorage.go#L17
S1028: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (gosimple)
|
golangci-lint:
pkg/job/utils/modelstorage.go#L17
S1028: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (gosimple)
|