You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2022/10/24 08:48:14 UTC
[camel] branch main updated: CAMEL-18633: camel-test - Set proper timeout in log message
This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 6dda0f98add CAMEL-18633: camel-test - Set proper timeout in log message
6dda0f98add is described below
commit 6dda0f98add093b87daa9fa9557bbfa936876b43
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Mon Oct 24 10:47:55 2022 +0200
CAMEL-18633: camel-test - Set proper timeout in log message
---
.../src/main/java/org/apache/camel/component/mock/MockEndpoint.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockEndpoint.java b/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockEndpoint.java
index 73c93b8a3c2..b3a52da31de 100644
--- a/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockEndpoint.java
+++ b/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockEndpoint.java
@@ -1806,7 +1806,7 @@ public class MockEndpoint extends DefaultEndpoint implements BrowsableEndpoint,
long waitTime = timeout == 0 ? 10000L : timeout;
// now let's wait for the results
- LOG.debug("Waiting on the latch for: {} millis", timeout);
+ LOG.debug("Waiting on the latch for: {} millis", waitTime);
if (!latch.await(waitTime, TimeUnit.MILLISECONDS)) {
LOG.warn("The latch did not reach 0 within the specified time");
}