-
Notifications
You must be signed in to change notification settings - Fork 81
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
Integration tests executed on a real deployment as part of the CICD - Redshift Shares #1643
Conversation
…ift-dataset-integration-test-2
…n-test' into feat/redshift-dataset-integration-test-2 # Conflicts: # tests_new/integration_tests/modules/redshift_datasets/global_conftest.py
…-integration-test
…n-test' into feat/redshift-dataset-integration-test-2 # Conflicts: # tests_new/integration_tests/modules/redshift_datasets/global_conftest.py
…-integration-test-2 # Conflicts: # tests_new/integration_tests/core/environment/global_conftest.py # tests_new/integration_tests/modules/redshift_datasets/dataset_queries.py # tests_new/integration_tests/modules/redshift_datasets/global_conftest.py # tests_new/integration_tests/modules/redshift_datasets/test_redshift_connection.py
First skeleton redshift shares integration test
5a85b20
to
49294ca
Compare
49294ca
to
50639de
Compare
02cb9cd
to
7ac2f28
Compare
…-integration-test-shares # Conflicts: # tests_new/integration_tests/modules/redshift_datasets/dataset_queries.py # tests_new/integration_tests/modules/redshift_datasets/global_conftest.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would you mind applying this commit to make the redshift tests optional? **I will drop it from my PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added! Yes, it makes more sense here. The pytest skip is ultra cool
log.info(f'Datashare deauthorized successfully: {datashare_arn}') | ||
return response | ||
except ClientError as e: | ||
log.error(f'Error deauthorizing datashare: {e}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: log.exception
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, feel free to merge after incorporating the "optional" tests commit
Feature or Bugfix
Detail
Add integration tests for Redshift shares. Implements #1620
Tested
Locally:
Relates
Security
Please answer the questions below briefly where applicable, or write
N/A
. Based onOWASP 10.
fetching data from storage outside the application (e.g. a database, an S3 bucket)?
eval
or similar functions are used?By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.