-
Notifications
You must be signed in to change notification settings - Fork 97
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
Refactor and implement shared integration test host #8112
Conversation
Since this is a really big change, here's a suggested path for reviewers:
This has been significantly simplified. There were a few goals for this, which support integration-testing broadly.
This uses the new integration-test hosting infrastructure. You'll notice that this code heavily uses the changes from step 1.
|
3e7fd28
to
3a24e2e
Compare
3a24e2e
to
a1b2e17
Compare
a1b2e17
to
b026be8
Compare
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
typeSegments := id.TypeSegments() | ||
if len(typeSegments) >= 2 && (strings.EqualFold(typeSegments[len(typeSegments)-1].Type, "operationstatuses") || | ||
strings.EqualFold(typeSegments[len(typeSegments)-1].Type, "operationresults")) { | ||
strings.EqualFold(typeSegments[len(typeSegments)-1].Type, "operationresults") || | ||
strings.EqualFold(typeSegments[len(typeSegments)-1].Type, "operations")) { |
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.
Do we handle calls to /operations endpoint?
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 don't understand the question, can you be more specific? I think the comments explain this pretty well already.
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
Note: we're pausing this work to clean up the database interface separately. I'll update this PR when it's ready for reviews. |
FYI folks, this is going to get it a beeeeg rebase now 👍. Stay tuned ⌚⌚⌚⌚⌚⌚ Thanks for help reviewing the database and other layering changes. |
8caadfd
to
a15b36c
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8112 +/- ##
==========================================
+ Coverage 59.51% 59.88% +0.36%
==========================================
Files 580 584 +4
Lines 39008 38939 -69
==========================================
+ Hits 23216 23319 +103
+ Misses 14079 13878 -201
- Partials 1713 1742 +29 ☔ View full report in Codecov by Sentry. |
I'm looking into the functional test failures. Likely I got something wrong in the configuration change. |
a15b36c
to
30e655e
Compare
/LGTM |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
This change updates implements a shared (reusable) integration test host for the Radius control-plane services. The new integration test host enables us to do in-memory testing of UCP and dynamic-rp using a "full stack" approach. This change is a significant refactor because the "glue" code in UCP had many points of divergence with the rest of our codebase. The following major changes are the bulk of the work: - Defining new types for configuration + options in UCP - Updating the UCP configuration file to match the format of other components Signed-off-by: Ryan Nowak <[email protected]>
30e655e
to
4f160db
Compare
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
Description
This change updates implements a shared (reusable) integration test host for the Radius control-plane services. The new integration test host enables us to do in-memory testing of UCP and dynamic-rp using a "full stack" approach.
This change is a significant refactor because the "glue" code in UCP had many points of divergence with the rest of our codebase. The following major changes are the bulk of the work:
Type of change
Note: this is a pretty significant refactor, not a minor one 😆
Part of: #6688
Contributor checklist
Please verify that the PR meets the following requirements, where applicable: