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

Adds SSL test support, compatibility test support #1856

Conversation

derek-ho
Copy link
Collaborator

@derek-ho derek-ho commented Mar 27, 2024

Description

Due to @cwperks' heroic efforts, we are able to re-enable https on test clusters, and we can cleanup a lot of testing infrastructure to simply add the port, instead of re-writing entire files to disable https.

This PR also adds compatibility test support for linux and windows down to 2.4 (windows released in 2.4), and verifies that the API calls we are making are working as expected on clusters of different versions.

Category

Enhancement

Why these changes are required?

What is the old behavior before changes and new behavior after changes?

Issues Resolved

Fix #1853

Testing

[Please provide details of testing done: unit testing, integration testing and manual testing]

Check List

  • New functionality includes testing
  • New functionality has been documented
  • 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: Derek Ho <[email protected]>
Copy link

codecov bot commented Mar 27, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 68.20%. Comparing base (69319fe) to head (d4deef3).

Files Patch % Lines
public/apps/configuration/top-nav-menu.tsx 50.00% 1 Missing ⚠️
Additional details and impacted files
@@                             Coverage Diff                             @@
##           feature/supporting-multiple-datasources    #1856      +/-   ##
===========================================================================
- Coverage                                    68.22%   68.20%   -0.02%     
===========================================================================
  Files                                           96       96              
  Lines                                         2439     2441       +2     
  Branches                                       331      331              
===========================================================================
+ Hits                                          1664     1665       +1     
- Misses                                         696      697       +1     
  Partials                                        79       79              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
@derek-ho derek-ho changed the title Test support Adds SSL test support, compatibility test support Mar 27, 2024
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
@derek-ho derek-ho marked this pull request as ready for review March 27, 2024 21:05
@@ -98,7 +98,7 @@ describe('Multi-datasources enabled', () => {
cy.get('[data-test-subj="dataSourceSelectableContextMenuHeaderLink"]').contains('9202');
});

it('Checks Users Tab', () => {
it.skip('Checks Users Tab', () => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Skipping the flaky test, will re-enable when reading from url to avoid unnecessary component clicks. #1858

Signed-off-by: Derek Ho <[email protected]>
@derek-ho derek-ho requested review from BionIT and ZilongX March 27, 2024 21:12
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
@DarshitChanpura DarshitChanpura merged commit 9bceddf into opensearch-project:feature/supporting-multiple-datasources Mar 28, 2024
33 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants