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] add tests for data source association and dissociation #1646

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Conversation

raintygao
Copy link
Collaborator

Description

add tests for data source association and dissociation

Screenshot

image

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.

let dataSourceId2;
if (
Cypress.env('WORKSPACE_ENABLED') &&
Cypress.env('SECURITY_ENABLED') &&
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need security enabled for testing data source association?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean we don't need this verification?

cy.deleteWorkspaceById(workspaceId);
});

it('should associate and dissociate data source successfully', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add test cases for associating DQC?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have related infra of this type data source for now, may need to figure out a way to create this type data source with related team first.

@raintygao raintygao requested a review from yubonluo as a code owner November 19, 2024 06:16
@SuZhou-Joe SuZhou-Joe merged commit 7003895 into main Nov 19, 2024
76 of 90 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 19, 2024
…1646)

* add tests for data source association and dissociation

Signed-off-by: tygao <[email protected]>

* remove security verification

Signed-off-by: tygao <[email protected]>

---------

Signed-off-by: tygao <[email protected]>
(cherry picked from commit 7003895)
SuZhou-Joe pushed a commit that referenced this pull request Nov 19, 2024
…1646) (#1655)

* add tests for data source association and dissociation

Signed-off-by: tygao <[email protected]>

* remove security verification

Signed-off-by: tygao <[email protected]>

---------

Signed-off-by: tygao <[email protected]>
(cherry picked from commit 7003895)

Co-authored-by: Tianyu Gao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants