Skip to content

Commit c13164a

Browse files
authored
[MDS] add workspace tests with multiple data source enabled (#1341)
* [MDS] add workspace tests with multiple data source enabled Signed-off-by: yubonluo <[email protected]> * update worksapce to support workspace Signed-off-by: yubonluo <[email protected]> * update worksapce to support workspace Signed-off-by: yubonluo <[email protected]> * optimize the code Signed-off-by: yubonluo <[email protected]> * optimize the code Signed-off-by: yubonluo <[email protected]> * update workflow Signed-off-by: yubonluo <[email protected]> --------- Signed-off-by: yubonluo <[email protected]>
1 parent 7f2c9b5 commit c13164a

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

.github/workflows/workspace-release-e2e-workflow.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,12 @@ jobs:
3232
test-command: env CYPRESS_WORKSPACE_ENABLED=true yarn cypress:run-without-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/workspace-plugin/*'
3333
osd-serve-args: --workspace.enabled=true --savedObjects.permission.enabled=false
3434
security-enabled: false
35+
tests-with-multiple-data-source-and-disabled-local-cluster:
36+
needs: changes
37+
if: ${{ needs.changes.outputs.tests == 'true' }}
38+
uses: ./.github/workflows/release-e2e-workflow-template.yml
39+
with:
40+
test-name: dashboards workspace
41+
test-command: env CYPRESS_DISABLE_LOCAL_CLUSTER=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true CYPRESS_WORKSPACE_ENABLED=true CYPRESS_SAVED_OBJECTS_PERMISSION_ENABLED=true yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/workspace-plugin/mds*.js'
42+
osd-serve-args: --data_source.enabled=true --data_source.ssl.verificationMode=none --data_source.hideLocalCluster=true --workspace.enabled=true --savedObjects.permission.enabled=true --opensearch_security.multitenancy.enabled=false
43+
security-enabled: true

0 commit comments

Comments
 (0)