-
Notifications
You must be signed in to change notification settings - Fork 138
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
[Feature/multi_tenancy] Tenant-aware integration tests for Connector, Model, Agent, Model Groups #2818
base: feature/multi_tenancy
Are you sure you want to change the base?
[Feature/multi_tenancy] Tenant-aware integration tests for Connector, Model, Agent, Model Groups #2818
Conversation
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]> # Conflicts: # plugin/src/main/java/org/opensearch/ml/settings/MLFeatureEnabledSetting.java
Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
// "error": { | ||
// "root_cause": [ | ||
// { | ||
// "type": "status_exception", |
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.
Why it's showing 2 times?
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 you know from where are we getting this status_exception
? May be we can change that to OpenSearchStatusException
too? I can make the changes.
Description
Tests the entire Create-Get-Update-Search-Delete cycle with multi-tenancy (both enabled and not).
Validates expected results when tenant aware and when not (current status quo).
Looking for review on the approach before replicating to models and agents and other tenant-aware updates, although I won't wait before starting that work. If you want a simpler review, get started now. :)
To execute just these tests:
or
Because the classes end in
IT
, the "false" version executes with normal integ tests as well, a separate test needs to be done for thetrue
case.Check List
--signoff
.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.