-
Notifications
You must be signed in to change notification settings - Fork 72
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
Combine conftest.py files #2669
Conversation
Passing run #361 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
The ctl tests are freezing because of a database deadlock. This originally happened when I tried keeping the database connections in one file. Splitting them out fix it, but after merging main it is unhappy again. I'm looking into the new cause/solution. |
Codecov ReportBase: 86.46% // Head: 86.46% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #2669 +/- ##
=======================================
Coverage 86.46% 86.46%
=======================================
Files 289 289
Lines 15984 15984
Branches 2026 2026
=======================================
Hits 13821 13821
Misses 1779 1779
Partials 384 384 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Issue resolved. |
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.
generally looks good to me! a few minor comments/questions on the code, nothing really that needs to be addressed as far as i can see.
looks like you've got a bunch of merge conflicts again with main
that you need to resolve, sorry for not getting to this sooner :( but i'll approve this now preemptively.
a few other non-blocking notes:
- should we create a follow up ticket for this?
can follow up with the larger change of merging duplicate fixtures
- separately, should we run the unsafe test suite, just since you've touched things used by those tests and to make sure things aren't terribly broken? we can expect some intermittent failures on the saas external tests so we can use our discretion to ignore any failures there if they seem unrelated to your changes.
Yes, follow up created here #2688
Yes, makes a lot of sense. I set them to run this time. |
External tests are still getting skipped even after adding the label. I tried removing and re-adding it but that didn't kick them off either. Any other ideas on how to get them to run? |
hmm not off the top of my head, pretty sure the removing and re-adding is always what i've done to trigger it when it's not cooperating... 🤔 |
I ran the external tests locally and they failed as expected. All the failures look permissions related and not fixture related. I'm not sure of a better test I can do since I can't get them to start here. Thoughts? |
just noting we synced up offline and i passed along the documentation about how to set up vault integration locally and @sanders41 is going to see if he can get that working. generally though we feel pretty confident this change is good to go. |
Closes #2174
Code Changes
conftest.py
files fromctl
,lib
, andops
into a singleconftest.py
file.Steps to Confirm
Pre-Merge Checklist
CHANGELOG.md
Description Of Changes
Because of the difference in database connections between
ctl
andops
I was not able to combine those fixtures. In addition some of the tests inctl
seem to depend on previous tests having already run and populating the database with values. Because of this the fixture to reset data between tests could not be used in ctl.There are some fixtures here that could be combined into one. I started down that path and realized there was going to be potentially a huge amount of files changed. Because of that I wanted to get this merged as a smaller change to make sure it was working, and can follow up with the larger change of merging duplicate fixtures.