Skip to content

chore(integration): add WV_TEST_HOST/WV_TEST_*_PORT overrides#428

Draft
mpartipilo wants to merge 1 commit intomainfrom
chore/test-endpoint-env-vars
Draft

chore(integration): add WV_TEST_HOST/WV_TEST_*_PORT overrides#428
mpartipilo wants to merge 1 commit intomainfrom
chore/test-endpoint-env-vars

Conversation

@mpartipilo
Copy link
Copy Markdown
Contributor

Summary

  • Allow integration suite host/port to be overridden via WV_TEST_* env vars; default to current docker-compose values
  • Adds test/env.ts as the canonical source of resolved endpoints
  • Covers primary, auth/wcs, OIDC (Azure/Okta CC/Okta Users), RBAC, vectorizer, cluster, and broken/no-Weaviate test groups

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: npm run test:integration (suite resolves to localhost + previous hardcoded ports)
  • Override run against parity proxy: WV_TEST_REST_PORT=9080 WV_TEST_GRPC_PORT=50052 npm run test:integration

🤖 Generated with Claude Code

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

Allow the integration suite's host and per-service ports to be
overridden via environment variables. Hosts default to "localhost";
ports default to the previously-hardcoded values used by the
docker-compose dev stacks.

Adds test/env.ts as the canonical source of resolved endpoints.
Covers primary, auth/wcs, OIDC (Azure/Okta), RBAC, vectorizer,
cluster, and broken/no-Weaviate test groups.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@mpartipilo mpartipilo force-pushed the chore/test-endpoint-env-vars branch from ad8dc6b to 2f85d0d Compare April 30, 2026 19:11
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