Skip to content
Snippets Groups Projects
Commit c934c15c authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

change image entrypoint and test error handling

parent 089f85bd
Branches
No related tags found
1 merge request!159Resolve "Integration Tests Fail"
Pipeline #73802 canceled
...@@ -75,7 +75,9 @@ deploy:nightly:develop: ...@@ -75,7 +75,9 @@ deploy:nightly:develop:
- if: $CI_COMMIT_BRANCH == "develop" && $CI_NIGHTLY == "mainline" - if: $CI_COMMIT_BRANCH == "develop" && $CI_NIGHTLY == "mainline"
destroy:k8s: destroy:k8s:
image: bitnami/kubectl:latest image:
name: bitnami/kubectl:latest
entrypoint: [""]
rules: rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: always when: always
......
...@@ -250,7 +250,7 @@ func TestGnmi_SubscribeIntegration(t *testing.T) { ...@@ -250,7 +250,7 @@ func TestGnmi_SubscribeIntegration(t *testing.T) {
if (subErr != nil) != wantErr { if (subErr != nil) != wantErr {
if !wantErr && subErr != nil { if !wantErr && subErr != nil {
if subErr.Error() != "rpc error: code = Canceled desc = context canceled" { if subErr.Error() != "rpc error: code = Canceled desc = context canceled" {
t.Errorf("Subscribe() error = %v, wantErr %v", err, tt.wantErr) t.Errorf("Subscribe() error = %v, wantErr %v", subErr, tt.wantErr)
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment