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

chore: enable feature flags on all integ tests #13133

Merged
merged 7 commits into from
Feb 18, 2021

Conversation

nija-at
Copy link
Contributor

@nija-at nija-at commented Feb 18, 2021

This is the final part of the work started out in 200d52e.

Most feature flags will be expired in CDKv2 and their 'enabled'
behaviour made the default.
To keep the divergence between the two branches (master and
v2-main) to a minimum, update all integration tests to have the
flags enabled.

If the flag needs to be different for any specific test, it can be
overridden when constructing the App object.


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

@nija-at nija-at requested review from eladb and a team February 18, 2021 12:03
@nija-at nija-at self-assigned this Feb 18, 2021
@gitpod-io
Copy link

gitpod-io bot commented Feb 18, 2021

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Feb 18, 2021
Copy link
Contributor

@eladb eladb left a comment

Choose a reason for hiding this comment

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

This is very cool.

In a subsequent PR I still think we should also enable feature flags in all our unit tests.

@nija-at nija-at force-pushed the nija-at/featureflags-integtest branch from 7e0620d to f8dc05a Compare February 18, 2021 17:07
@nija-at nija-at force-pushed the nija-at/featureflags-integtest branch from f8dc05a to 4cd2db0 Compare February 18, 2021 18:13
@mergify
Copy link
Contributor

mergify bot commented Feb 18, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 0d42c90
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Feb 18, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 1ce7df8 into master Feb 18, 2021
@mergify mergify bot deleted the nija-at/featureflags-integtest branch February 18, 2021 19:17
NovakGu pushed a commit to NovakGu/aws-cdk that referenced this pull request Feb 18, 2021
This is the final part of the work started out in 200d52e.

Most feature flags will be expired in CDKv2 and their 'enabled'
behaviour made the default.
To keep the divergence between the two branches (`master` and
`v2-main`) to a minimum, update all integration tests to have the
flags enabled.

If the flag needs to be different for any specific test, it can be
overridden when constructing the `App` object.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
eladb pushed a commit that referenced this pull request Feb 22, 2021
This is the final part of the work started out in 200d52e.

Most feature flags will be expired in CDKv2 and their 'enabled'
behaviour made the default.
To keep the divergence between the two branches (`master` and
`v2-main`) to a minimum, update all integration tests to have the
flags enabled.

If the flag needs to be different for any specific test, it can be
overridden when constructing the `App` object.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants