pkg/search/backendstore: unit test opensearch #18092
ci.yml
on: pull_request
Annotations
20 errors
lint:
pkg/search/backendstore/opensearch_test.go#L108
cannot use fakeclientset.NewSimpleClientset() (value of type *"k8s.io/client-go/kubernetes/fake".Clientset) as *kubernetes.Clientset value in assignment
|
lint:
pkg/search/backendstore/opensearch_test.go#L109
invalid operation: k8sClient (variable of type *kubernetes.Clientset) is not an interface
|
lint:
pkg/search/backendstore/opensearch_test.go#L138
cannot use fakeclientset.NewSimpleClientset() (value of type *"k8s.io/client-go/kubernetes/fake".Clientset) as *kubernetes.Clientset value in assignment
|
lint:
pkg/search/backendstore/opensearch_test.go#L351
cannot use test.client (variable of type kubernetes.Interface) as *kubernetes.Clientset value in argument to Init: need type assertion
|
lint:
pkg/search/backendstore/store_test.go#L51
cannot use client (variable of type kubernetes.Interface) as *kubernetes.Clientset value in argument to Init: need type assertion
|
lint:
pkg/search/backendstore/store_test.go#L68
cannot use client (variable of type kubernetes.Interface) as *kubernetes.Clientset value in argument to Init: need type assertion
|
lint:
pkg/search/backendstore/store_test.go#L167
cannot use test.client (variable of type kubernetes.Interface) as *kubernetes.Clientset value in argument to Init: need type assertion
|
lint:
pkg/search/backendstore/store_test.go#L207
cannot use test.client (variable of type kubernetes.Interface) as *kubernetes.Clientset value in argument to Init: need type assertion
|
lint:
pkg/search/backendstore/store_test.go#L286
cannot use test.client (variable of type kubernetes.Interface) as *kubernetes.Clientset value in argument to Init: need type assertion (typecheck)
|
lint
Process completed with exit code 1.
|
unit test:
pkg/search/backendstore/opensearch_test.go#L108
cannot use fakeclientset.NewSimpleClientset() (value of type *"k8s.io/client-go/kubernetes/fake".Clientset) as *kubernetes.Clientset value in assignment
|
unit test:
pkg/search/backendstore/opensearch_test.go#L109
invalid operation: k8sClient (variable of type *kubernetes.Clientset) is not an interface
|
unit test:
pkg/search/backendstore/opensearch_test.go#L138
cannot use fakeclientset.NewSimpleClientset() (value of type *"k8s.io/client-go/kubernetes/fake".Clientset) as *kubernetes.Clientset value in assignment
|
unit test:
pkg/search/backendstore/opensearch_test.go#L351
cannot use test.client (variable of type kubernetes.Interface) as *kubernetes.Clientset value in argument to Init: need type assertion
|
unit test:
pkg/search/backendstore/store_test.go#L51
cannot use client (variable of type kubernetes.Interface) as *kubernetes.Clientset value in argument to Init: need type assertion
|
unit test:
pkg/search/backendstore/store_test.go#L68
cannot use client (variable of type kubernetes.Interface) as *kubernetes.Clientset value in argument to Init: need type assertion
|
unit test:
pkg/search/backendstore/store_test.go#L167
cannot use test.client (variable of type kubernetes.Interface) as *kubernetes.Clientset value in argument to Init: need type assertion
|
unit test:
pkg/search/backendstore/store_test.go#L207
cannot use test.client (variable of type kubernetes.Interface) as *kubernetes.Clientset value in argument to Init: need type assertion
|
unit test:
pkg/search/backendstore/store_test.go#L286
cannot use test.client (variable of type kubernetes.Interface) as *kubernetes.Clientset value in argument to Init: need type assertion
|
unit test:
pkg/search/backendstore/opensearch_test.go#L108
cannot use fakeclientset.NewSimpleClientset() (value of type *"k8s.io/client-go/kubernetes/fake".Clientset) as *kubernetes.Clientset value in assignment
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
karmada_e2e_log_v1.29.0
|
5.41 MB |
|
karmada_e2e_log_v1.30.0
|
5.34 MB |
|
karmada_e2e_log_v1.31.0
|
4.71 MB |
|
karmada_kind_log_v1.29.0
|
1.96 KB |
|
karmada_kind_log_v1.30.0
|
2.07 KB |
|
karmada_kind_log_v1.31.0
|
1.97 KB |
|