Skip to content

DE-159650: Update Transport tests for ES v9 and remove dead code after skipped tests#26

Closed
sumitkhopade1986 wants to merge 1 commit intoDE-159650-upgrade-elasticsearch-tests-multi-aggregationfrom
DE-159650-upgrade-elasticsearch-tests-transport
Closed

DE-159650: Update Transport tests for ES v9 and remove dead code after skipped tests#26
sumitkhopade1986 wants to merge 1 commit intoDE-159650-upgrade-elasticsearch-tests-multi-aggregationfrom
DE-159650-upgrade-elasticsearch-tests-transport

Conversation

@sumitkhopade1986
Copy link
Copy Markdown

Description: Update Transport tests for ES v9 compatibility and remove unreachable dead code after markTestSkipped calls
Possible impact: tests/Transport/HttpTest.php, tests/Transport/NullTransportTest.php, tests/Transport/GuzzleTest.php


Summary

  • Updates tests/Transport/HttpTest.php — skips proxy/compression tests incompatible with ES v9 client architecture
  • Updates tests/Transport/NullTransportTest.php — skips functional tests incompatible with v9 NoNodeAvailableException
  • Updates tests/Transport/GuzzleTest.php — removes dead code after markTestSkipped calls
  • Cleans up unreachable code blocks throughout transport test files

Stacked PRs (8/9)

opensearchinfra-depsconnectionindex-apiclient-bulksecondary-srctests-bulktests-multi-aggregationThis PRtests-remaining

⚠️ Base branch is DE-159650-upgrade-elasticsearch-tests-multi-aggregation — merge that first.

Test Plan

  • Transport unit tests pass
  • No dead code warnings in transport test files

🤖 Generated with Claude Code

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.

1 participant