-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Cloud: Make e2e Tests Less Chatty, and More Stable #29883
Conversation
1010ea5
to
0155893
Compare
cb46ba1
to
0ec40de
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.
I'm far from expert on the specific behaviors these tests are exercising and so I focused my review on the general ideas (use subtests, parallel, etc) rather than the specific test case, and it all makes sense to me. I'll leave final review to folks who are more familiar with the code being tested here, in case there's something specific about this integration that I'm not aware of.
I did leave a question inline about the possibly-redundant(?) mechanisms for enabling these tests, but as I said inline I'm okay with it if there's something unique here which justifies it; just wanted to point out the inconsistency with other e2etest-ish packages in case it was an accidental one.
github.com/hashicorp/go-version v1.2.1 | ||
github.com/hashicorp/go-version v1.3.0 |
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.
For the benefit of other potential reviewers: this bump seems to just introduce the version.Core
method, from hashicorp/go-version#85, and so shouldn't lead to any behavior changes for other parts of Terraform not using that new method.
0ec40de
to
0cb9310
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.
I'm still trying to get a successful run of all e2e tests, and I'd like to try out that -tfoutput flag, but in the meantime here are my code comments!
00c0ab9
to
7758216
Compare
- Fix tests and remove commented code - Remove parallel for some flaky tests - Add README
7758216
to
5ef82dd
Compare
63d780b
to
7af4cff
Compare
7af4cff
to
57a4b51
Compare
4fac1bd
to
7211cb7
Compare
7211cb7
to
9b675f8
Compare
The tests pass for me running against tfcdev locally and also Oasis. I had to increase the timeout for the local run, which took about 12 minutes to run. The default test timeout is 10 minutes. Oasis only took 8 minutes. |
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.
tests pass for me. 🚢 ✅
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Description
This fixes the Cloud e2e tests.
Changes
TF_LOG=INFO
in test cases-tfoutput
flag to print the terraform to standard output.-auto-approve
because it wasn't necessary for extra input steps.Note: I've removed some
t.Parallel()
bits because it started introducing some flakiness. I didn't do a full investigation because of time considerations. We will investigate this at a later point.Test Output