This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 5ad7d0b3fb Increase timeout for Azure keyvault for better stability
5ad7d0b3fb is described below
commit 5ad7d0b3fb3ae923c6a448fd0fc3e4ee3e6ef40f
Author: Lukas Lowinger <[email protected]>
AuthorDate: Thu Mar 5 12:28:17 2026 +0100
Increase timeout for Azure keyvault for better stability
---
.../azure/key/vault/it/AbstractAzureKeyVaultContextReloadTest.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git
a/integration-test-groups/azure/azure-key-vault/src/test/java/org/apache/camel/quarkus/component/azure/key/vault/it/AbstractAzureKeyVaultContextReloadTest.java
b/integration-test-groups/azure/azure-key-vault/src/test/java/org/apache/camel/quarkus/component/azure/key/vault/it/AbstractAzureKeyVaultContextReloadTest.java
index 73d38a5edc..7017e40f83 100644
---
a/integration-test-groups/azure/azure-key-vault/src/test/java/org/apache/camel/quarkus/component/azure/key/vault/it/AbstractAzureKeyVaultContextReloadTest.java
+++
b/integration-test-groups/azure/azure-key-vault/src/test/java/org/apache/camel/quarkus/component/azure/key/vault/it/AbstractAzureKeyVaultContextReloadTest.java
@@ -49,7 +49,6 @@ abstract class AbstractAzureKeyVaultContextReloadTest {
void contextReload() {
String secretName =
ConfigProvider.getConfig().getValue("camel.vault.azure.secrets",
String.class).replace(".*", "");
String secretValue = "Hello Camel Quarkus Azure Key Vault From
Refresh";
- boolean reloadDetected = false;
try {
// Create secret
RestAssured.given()
@@ -89,14 +88,13 @@ abstract class AbstractAzureKeyVaultContextReloadTest {
}
//await context reload
- Awaitility.await().pollInterval(10, TimeUnit.SECONDS).atMost(2,
TimeUnit.MINUTES).untilAsserted(
+ Awaitility.await().pollInterval(10, TimeUnit.SECONDS).atMost(5,
TimeUnit.MINUTES).untilAsserted(
() -> {
RestAssured.get("/azure-key-vault/context/reload")
.then()
.statusCode(200)
.body(CoreMatchers.is("true"));
});
- reloadDetected = true;
} finally {
// meant to be commented.
// during development, it may be handy to mark eventhub as
completely read. (in case the test is not reading all the messages by itself)