-
Notifications
You must be signed in to change notification settings - Fork 179
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
test_python_model.py::TestSecrets::test_secrets
is failing in some scenarios
#1096
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-snowflake contributing guide. |
ci run on this branch to track multiple runs see if test fails: https://github.com/dbt-labs/dbt-snowflake/actions/runs/9715531000 |
) | ||
project.run_sql( | ||
"create or replace external access integration test_external_access_integration allowed_network_rules = (test_network_rule) allowed_authentication_secrets = (test_secret) enabled = true;" | ||
f"create or replace external access integration {test_external_access_integration} allowed_network_rules = ({test_network_rule}) allowed_authentication_secrets = (test_secret) enabled = true;" |
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.
It looks like we missed an instance of test_secret
.
… to the python model fixture
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.8.latest 1.8.latest
# Navigate to the new working tree
cd .worktrees/backport-1.8.latest
# Create a new branch
git switch --create backport-1096-to-1.8.latest
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 220f08724a5b8d4d2e3bd461b15af3346f168c88
# Push it to GitHub
git push --set-upstream origin backport-1096-to-1.8.latest
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.8.latest Then, create a pull request where the |
resolves #1003
docs dbt-labs/docs.getdbt.com/#
Problem
in ci/cd test is failing for
This appears to be caused by our ci/cd running multiple instances of tests across various versions of python and os types.
Solution
adding a
uuid
suffix to the end of each required variable for the secrets should stop collision between version running at same test as each instance should have its ownuuid
Checklist