Skip to content

Refactor e2e tests to use acktest.tags helper #106

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

Merged
merged 2 commits into from
Sep 29, 2022
Merged

Refactor e2e tests to use acktest.tags helper #106

merged 2 commits into from
Sep 29, 2022

Conversation

brycahta
Copy link
Contributor

@brycahta brycahta commented Sep 27, 2022

Issue #, if available: aws-controllers-k8s/community#1235

Description of changes:

  • Use acktest.tags assertions in e2e tests to accurately test for ACK tags and user-defined tags
  • Enhance existing tag tests by checking both server-side values as well as Spec.Tags values
  • Add hook code for Instance and RouteTable so ACK tags are not populated in Spec

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link

@vijtrip2 vijtrip2 left a comment

Choose a reason for hiding this comment

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

/lgtm

@ack-bot ack-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 29, 2022
@ack-bot
Copy link
Collaborator

ack-bot commented Sep 29, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brycahta, vijtrip2

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-bot ack-bot merged commit 8594fb5 into aws-controllers-k8s:main Sep 29, 2022
@brycahta brycahta deleted the tag-assertions branch September 29, 2022 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants