Skip to content

CAMEL-24345: Fix GoogleVertexAIProducerOptionsTest to not require Google credentials - #25391

Merged
davsclaus merged 1 commit into
mainfrom
fix/CAMEL-24345-test
Aug 6, 2026
Merged

CAMEL-24345: Fix GoogleVertexAIProducerOptionsTest to not require Google credentials#25391
davsclaus merged 1 commit into
mainfrom
fix/CAMEL-24345-test

Conversation

@davsclaus

Copy link
Copy Markdown
Contributor

Summary

  • Fix GoogleVertexAIProducerOptionsTest to construct configuration and endpoint objects directly instead of resolving through CamelContext.getEndpoint(), which triggers doStart() and Google Cloud credential lookup
  • The test only verifies buildConfig() and determineStreamOutputMode() behavior — no actual connectivity needed
  • This was causing CI failures on PR builds (all 4 tests erroring with ResolveEndpointFailedException: Your default credentials were not found)

Test plan

  • All 4 tests in GoogleVertexAIProducerOptionsTest pass locally
  • Tests no longer require Google Cloud credentials to run
  • CI build should pass without Google Cloud credentials configured

Claude Code on behalf of davsclaus

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

…gle credentials

Construct the configuration and endpoint directly instead of resolving
through CamelContext, which triggers doStart() and credential lookup.
The test only verifies buildConfig() and determineStreamOutputMode()
behavior, not actual Google Cloud connectivity.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
@davsclaus
davsclaus merged commit c1a313f into main Aug 6, 2026
4 of 5 checks passed
@davsclaus
davsclaus deleted the fix/CAMEL-24345-test branch August 6, 2026 17:13
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