Skip to content

Backport of remove unit test for previously removed consul-cni validation into release/1.4.x#3801

Merged
hc-github-team-consul-core merged 1 commit intorelease/1.4.xfrom
backport/b-consul-cni-validation-test/really-open-mastiff
Mar 21, 2024
Merged

Backport of remove unit test for previously removed consul-cni validation into release/1.4.x#3801
hc-github-team-consul-core merged 1 commit intorelease/1.4.xfrom
backport/b-consul-cni-validation-test/really-open-mastiff

Conversation

@hc-github-team-consul-core
Copy link
Copy Markdown
Collaborator

Backport

This PR is auto-generated from #3794 to be assessed for backporting due to the inclusion of the label backport/1.4.x.

The below text is copied from the body of the original PR.


In #1527, we added support for OpenShift and Multus, which meant that the consul-cni plugin was no longer necessarily the final CNI plugin run. While working on a patch to allow compatibility with Nomad transparent proxy, I discovered we'd never removed a now-failing unit test of the plugin for the validation step. It looks like the remaining unit tests still cover the remaining validation, so we can safely remove this test.

Ref: #1527
Ref: hashicorp/nomad#10628

How I've tested this PR

cd ./control-plane/cni; go test .

How I expect reviewers to test this PR

As above

Checklist


Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/b-consul-cni-validation-test/really-open-mastiff branch from 19a7199 to d0cc38b Compare March 21, 2024 13:20
@hc-github-team-consul-core hc-github-team-consul-core enabled auto-merge (squash) March 21, 2024 13:20
@hc-github-team-consul-core hc-github-team-consul-core merged commit 80c676f into release/1.4.x Mar 21, 2024
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/b-consul-cni-validation-test/really-open-mastiff branch March 21, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants