Skip to content

test(opensearch1): skip demo security config install in OpenSearch1ClientTest#35

Merged
marevol merged 1 commit into
mainfrom
fix/opensearch1-test-demo-config-timeout
Jul 9, 2026
Merged

test(opensearch1): skip demo security config install in OpenSearch1ClientTest#35
marevol merged 1 commit into
mainfrom
fix/opensearch1-test-demo-config-timeout

Conversation

@marevol

@marevol marevol commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • OpenSearch1ClientTest was the only Testcontainers-based test class still running the OpenSearch security plugin's demo config installer at container startup (plugins.security.disabled=true), while OpenSearch2ClientTest/OpenSearch3ClientTest already skip it via DISABLE_INSTALL_DEMO_CONFIG=true + DISABLE_SECURITY_PLUGIN=true.
  • This left OpenSearch1ClientTest as the one class hitting the container startup wait-strategy timeout in CI, since it alone performs the extra demo-config install step during container boot.
  • Aligns OpenSearch1ClientTest with the already-proven pattern used by the other four Docker-backed client tests, removing the difference between the failing and passing test classes.

Test plan

  • mvn -Dtest=OpenSearch1ClientTest test — 41/41 tests pass
  • mvn test (full suite, all Docker-backed classes included) — all green
  • mvn formatter:format license:format — no additional changes needed

…her test classes

OpenSearch1ClientTest was the only Testcontainers-based test class still
running the OpenSearch security demo config installer at container
startup (via plugins.security.disabled=true), unlike the other four
client tests which already disable it via DISABLE_INSTALL_DEMO_CONFIG
and DISABLE_SECURITY_PLUGIN. This left it as the one deterministic
outlier hitting the container startup wait-strategy timeout in CI.

Aligns OpenSearch1ClientTest with the pattern already used by
OpenSearch2ClientTest/OpenSearch3ClientTest.
@marevol
marevol merged commit a49dd5f into main Jul 9, 2026
1 check 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.

1 participant