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

Use full access client for FlowFrameworkSecureRestApiIT #480

Closed
wants to merge 1 commit into from

Conversation

dbwiddis
Copy link
Member

Description

The FlowFrameworkSecureRestApiIT inherits from FlowFrameworkRestTestCase. The adminClient() inherited from OpenSearchRestTestCase does not have the correct configuration for a secure cluster.

This change creates an instance variable for the adminClient that is replaced by the properly configured full access client.

Issues Resolved

Fixes #469

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.

Copy link

codecov bot commented Jan 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (69c0c61) 71.91% compared to head (067d66b) 71.91%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #480   +/-   ##
=========================================
  Coverage     71.91%   71.91%           
  Complexity      621      621           
=========================================
  Files            78       78           
  Lines          3133     3133           
  Branches        234      234           
=========================================
  Hits           2253     2253           
  Misses          776      776           
  Partials        104      104           

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

@dbwiddis dbwiddis marked this pull request as draft January 31, 2024 17:27
@dbwiddis
Copy link
Member Author

This is obviously not the correct solution.

@dbwiddis dbwiddis closed this Jan 31, 2024
@dbwiddis dbwiddis deleted the client-fix branch April 15, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport PRs to 2.x branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[AUTOCUT] Integration Test failed for flow-framework: 2.12.0 tar distribution
1 participant