-
Notifications
You must be signed in to change notification settings - Fork 76
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
Convert default-python integration test to acceptance test #2532
base: main
Are you sure you want to change the base?
Conversation
5bea7b2
to
2b9073b
Compare
2b9073b
to
7deee04
Compare
f95ce63
to
5b97c12
Compare
4da8eed
to
57a5e68
Compare
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.
Looks good to me, please take a look at the one comment though.
|
||
>>> [CLI] bundle summary -t prod -o json | ||
|
||
>>> diff.py ../out.summary.dev.json ../out.summary.prod.json |
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.
This is unexpected; shouldn't there be a diff between mode development and production? For mode: development
the resources have a prefix added to them.
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.
well spotted, thanks! diff.py is not doing anything if arguments are files (as opposed to directories).
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.
73fc8b8
to
d2c8774
Compare
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
acceptance/bin/diff.py
Outdated
assert d1.is_file(), d1 | ||
assert d2.is_file(), d2 | ||
diff_files(patterns, d1, d2) | ||
return |
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.
Was this merged in a different 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.
Yes, it is rebased now, please take another look.
…pal" This reverts commit 7702d243ca378e354f3b035446b87c1f682640d9.
…r future GCP support" This reverts commit 3f80c0c829b87756830b7d934a88835e3c46e8fb.
d2c8774
to
374aabf
Compare
Changes
Note, GCP is disabled in this test due to differences from the aws and azure (IsServicePrincipal is false there, causing different config).
Depends on #2535
Why
init_default_python_test.go is one of a kind test - it uses golden files, but it's a separate thing from the rest of acceptance tests. This change makes it easier to update it with the rest of acceptance tests.