Skip to content

chore(it): support WV_TEST_HOST/REST_PORT/GRPC_PORT overrides#567

Closed
mpartipilo wants to merge 1 commit into
mainfrom
chore/test-endpoint-env-vars
Closed

chore(it): support WV_TEST_HOST/REST_PORT/GRPC_PORT overrides#567
mpartipilo wants to merge 1 commit into
mainfrom
chore/test-endpoint-env-vars

Conversation

@mpartipilo
Copy link
Copy Markdown
Contributor

Summary

  • Allows pointing integration tests at an external Weaviate (e.g., Apache Arrow Flight parity proxy) by skipping TestContainers boot when WV_TEST_HOST is set, using the env-var endpoint instead
  • Primary-only: OIDC/RBAC variants run via TestContainers config flags on the primary instance, so no separate group env-vars are needed

Part of cross-client consolidation aligning Python / Go / C# / TS / Java + server (weaviate#11153) on the same WV_TEST_* convention.

Test plan

  • Default run unchanged: mvn -pl . verify -Dit.test=... (TestContainers still boots Weaviate)
  • Override run against parity proxy: WV_TEST_HOST=localhost WV_TEST_REST_PORT=9080 WV_TEST_GRPC_PORT=50052 mvn ... (TestContainers boot is skipped)

🤖 Generated with Claude Code

Allows pointing integration tests at an external Weaviate instance
(e.g., Apache Arrow Flight parity proxy) by skipping TestContainers
boot when WV_TEST_HOST is set, using the env-var endpoint instead.
Copy link
Copy Markdown

@orca-security-eu orca-security-eu Bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@mpartipilo
Copy link
Copy Markdown
Contributor Author

Cancelled common integration testing stack experiment, as the scope grew unmanageably and the results were not contributing to the improvement of the quality of tests.

@mpartipilo mpartipilo closed this May 20, 2026
@mpartipilo mpartipilo deleted the chore/test-endpoint-env-vars branch May 20, 2026 13:43
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