Skip to content
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

[Workspace] Clean up workspace after tests and disable multi-tenancy when running workspace test #1231

Closed
wants to merge 2 commits into from

Conversation

yubonluo
Copy link
Collaborator

@yubonluo yubonluo commented Apr 25, 2024

Description

Fix errors in the workspace workflow.

  1. When workspace and opensearch_security.multitenancy are enabled at the same time, OSD will report an error ([plugins][securityDashboards] StatusCodeError: Authorization Exception).
    Related Issue: [BUG] saved object can't be created when permissions provided OpenSearch-Dashboards#6314
  2. Create a workspace in the test and do not delete it after completing the test, resulting in the inconsistent return result with the expected result.

Issues Resolved

Turn off opensearch_security.multitenancy when security is enabled.
Add an operation to delete the workspace in after().

Check List

  • Commits are signed per the DCO using --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.

Signed-off-by: yubonluo <yubonluo@amazon.com>
@yubonluo yubonluo changed the title Fix errors in the workspace workflow [Workspace] Fix errors in the workspace workflow Apr 25, 2024
@yubonluo yubonluo changed the title [Workspace] Fix errors in the workspace workflow [Workspace] Clean up workspace after tests and disable multi-tenancy when running workspace test Apr 25, 2024
@SuZhou-Joe SuZhou-Joe closed this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants