-
Notifications
You must be signed in to change notification settings - Fork 186
Tenant Aware Integration Tests #3516
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3516 +/- ##
============================================
- Coverage 78.20% 77.98% -0.22%
- Complexity 7162 7315 +153
============================================
Files 631 655 +24
Lines 32248 32997 +749
Branches 3666 3708 +42
============================================
+ Hits 25219 25734 +515
- Misses 5465 5676 +211
- Partials 1564 1587 +23
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b5cddd2 to
99ae3ed
Compare
98bf007 to
41353eb
Compare
Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
0e10ea8 to
f810d75
Compare
Signed-off-by: Daniel Widdis <[email protected]>
f810d75 to
bd40be1
Compare
|
I noticed these tests run for 1 hour! Is there any way to reduce time? I'm just wondering if this will add extra development headache or not. |
These tenant aware tests don't run that long. The one hour is just the existing CI tests; closer to 30 minutes but there's a built-in retry if/when it fails. Here are the timestamps for the Tenant-aware tests: Initial Run: RestMLAgentTenantAwareIT: 15:59:22,244 to 15:59:36,864 = 14.62 seconds Retry Run: RestMLAgentTenantAwareIT: 23:28:35,125 to 23:29:00,830 = 25.705 seconds |
Description
Adds integration tests for multitenancy.
The test classes were squashed and cherry-picked from #2818.
Presently the search model and search agent calls are commented out, asMLSearchHandlerandTransportSearchAgentActionclasses are still usingclient.search()rather than SDKClient implementations.Check List
[ ] API changes companion pull request created.--signoff.[ ] Public documentation issue/PR created.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.