You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor test infrastructure and consolidate test utilities
Modernize the test infrastructure by consolidating test helpers into a
shared testutil package and enhancing connection reliability:
- Move test utilities from internal/test to opensearchutil/testutil for
broader reusability across the project and external packages
- Remove obsolete internal/test/config.go in favor of improved helper
functions with better error handling and connection management
- Add dynamic field filtering for JSON comparison tests to handle
version-specific and environment-dependent OpenSearch responses
- Enhance connection robustness with improved readiness checks and
health monitoring in opensearchtransport layer
- Update all integration tests across opensearchapi, plugins, and
transport packages to use the new unified test infrastructure
- Add comprehensive documentation and examples for the new test utilities
This refactor provides a more maintainable foundation for testing across
different OpenSearch versions and environments while reducing code
duplication and improving test reliability.
Signed-off-by: Sean Chittenden <sean.chittenden@crowdstrike.com>
0 commit comments