Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NET-7377] Consul ENT tests #1882

Merged
merged 12 commits into from
Feb 19, 2024
Merged

[NET-7377] Consul ENT tests #1882

merged 12 commits into from
Feb 19, 2024

Conversation

kkavish
Copy link
Contributor

@kkavish kkavish commented Feb 18, 2024

Changes proposed in this PR:

  • CT ENT tests for all consul resource supporting partition and ns.
  • bug fix for map keys, keys did not contain partition and ns, so could have been overridden if same key in a different ns and partition is added as a dependency.

How I've tested this PR:

  • CI
  • Locally (you can install consul ent and provide a license through env variable before running each test)

How I expect reviewers to test this PR:

Checklist:

  • Tests added
  • CHANGELOG entry added

- CT ENT tests for all consul resource supporting partition and ns.
- bug fix for map keys, keys did not contain partition and ns, so could have been overridden if same key in a different ns and partition is added as a dependency.
- CT ENT tests for all consul resource supporting partition and ns.
- bug fix for map keys, keys did not contain partition and ns, so could have been overridden if same key in a different ns and partition is added as a dependency.
@kkavish kkavish added the consul-india Consul India team gets notified about the PRs label Feb 18, 2024
@kkavish kkavish requested a review from a team as a code owner February 18, 2024 13:26
- CT ENT tests for all consul resource supporting partition and ns.
- bug fix for map keys, keys did not contain partition and ns, so could have been overridden if same key in a different ns and partition is added as a dependency.
- CT ENT tests for all consul resource supporting partition and ns.
- bug fix for map keys, keys did not contain partition and ns, so could have been overridden if same key in a different ns and partition is added as a dependency.
- CT ENT tests for all consul resource supporting partition and ns.
- bug fix for map keys, keys did not contain partition and ns, so could have been overridden if same key in a different ns and partition is added as a dependency.
- CT ENT tests for all consul resource supporting partition and ns.
- bug fix for map keys, keys did not contain partition and ns, so could have been overridden if same key in a different ns and partition is added as a dependency.
- CT ENT tests for all consul resource supporting partition and ns.
- bug fix for map keys, keys did not contain partition and ns, so could have been overridden if same key in a different ns and partition is added as a dependency.
- CT ENT tests for all consul resource supporting partition and ns.
- bug fix for map keys, keys did not contain partition and ns, so could have been overridden if same key in a different ns and partition is added as a dependency.
- CT ENT tests for all consul resource supporting partition and ns.
- bug fix for map keys, keys did not contain partition and ns, so could have been overridden if same key in a different ns and partition is added as a dependency.
@kkavish kkavish changed the title [NET-7377] [NET-7377] Consul ENT tests Feb 18, 2024
Copy link
Collaborator

@tauhid621 tauhid621 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall. Left some minor comments

dependency/catalog_node_test.go Show resolved Hide resolved
dependency/catalog_nodes_test.go Show resolved Hide resolved
test/tenancy_helper.go Outdated Show resolved Hide resolved
test/tenancy_helper.go Show resolved Hide resolved
- CT ENT tests for all consul resource supporting partition and ns.
- bug fix for map keys, keys did not contain partition and ns, so could have been overridden if same key in a different ns and partition is added as a dependency.
@kkavish kkavish requested a review from tauhid621 February 19, 2024 06:30
- CT ENT tests for all consul resource supporting partition and ns.
- bug fix for map keys, keys did not contain partition and ns, so could have been overridden if same key in a different ns and partition is added as a dependency.
- CT ENT tests for all consul resource supporting partition and ns.
- bug fix for map keys, keys did not contain partition and ns, so could have been overridden if same key in a different ns and partition is added as a dependency.
@kkavish kkavish merged commit 073b7f2 into main Feb 19, 2024
54 checks passed
@kkavish kkavish deleted the ent-test-cases branch February 19, 2024 09:31
}
if d.namespace != "" {
name = name + "@ns=" + d.namespace
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kkavish good find, I think we need to add d.peer as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consul-india Consul India team gets notified about the PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants