Dhairya-007 commented on PR #29568:
URL: https://github.com/apache/camel/pull/29568#issuecomment-6774972516
Added the test, thanks — exactly where you pointed:
`MainVaultTest.testMainCyberarkConjurFluent` now chains
`.withApiKey("key").withVerifySSL(false).withCertificatePath("/tmp/ca.pem")`
and asserts the three values on `cfg`.
Ran it both ways on `core/camel-main`:
- with this fix: `Tests run: 20, Failures: 0, Errors: 0` for the whole
`MainVaultTest`
- with `CyberArkVaultConfigurationProperties` reverted to `main`:
`testMainCyberarkConjurFluent` errors with `java.lang.StackOverflowError` on
all three surefire reruns
`withVerifySSL(false)` is a meaningful assertion since `verifySsl` defaults
to `true` in `CyberArkVaultConfiguration`, and `setVaultProperties` hands the
same `CyberArkVaultConfigurationProperties` instance to the context, so
`context.getVaultConfiguration().cyberark()` observes what the fluent chain set.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]