You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2021/03/30 10:02:51 UTC
[camel-quarkus-examples] branch master updated: Improve
FileToFtpTest await condition to match on the CSV file extension
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git
The following commit(s) were added to refs/heads/master by this push:
new 4fd9344 Improve FileToFtpTest await condition to match on the CSV file extension
4fd9344 is described below
commit 4fd93448084c9e63d25c61a1851b8acf5a9cc90f
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Mar 30 10:21:57 2021 +0100
Improve FileToFtpTest await condition to match on the CSV file extension
---
.../src/test/java/org/apache/camel/example/FileToFtpTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/file-bindy-ftp/src/test/java/org/apache/camel/example/FileToFtpTest.java b/file-bindy-ftp/src/test/java/org/apache/camel/example/FileToFtpTest.java
index cdf8b59..8e6e182 100644
--- a/file-bindy-ftp/src/test/java/org/apache/camel/example/FileToFtpTest.java
+++ b/file-bindy-ftp/src/test/java/org/apache/camel/example/FileToFtpTest.java
@@ -52,7 +52,7 @@ public class FileToFtpTest {
await().atMost(10L, TimeUnit.SECONDS).pollDelay(500, TimeUnit.MILLISECONDS).until(() -> {
try {
- return channelSftp.ls("uploads/books").size() >= 3;
+ return channelSftp.ls("uploads/books/*.csv").size() >= 3;
} catch (Exception e) {
return false;
}