JiriOndrusek commented on a change in pull request #3066:
URL: https://github.com/apache/camel-quarkus/pull/3066#discussion_r704151531



##########
File path: 
integration-tests/sql/src/main/java/org/apache/camel/quarkus/component/sql/it/SqlRoutes.java
##########
@@ -114,7 +123,9 @@ private Path createTmpFileFrom(String file) throws 
IOException {
             while ((c = is.read()) >= 0) {
                 baos.write(c);
             }
-            fos.write(baos.toByteArray());
+            String content = new String(baos.toByteArray());

Review comment:
       I'll fix it.

##########
File path: 
integration-tests/sql/src/main/java/org/apache/camel/quarkus/component/sql/it/SqlRoutes.java
##########
@@ -114,7 +123,9 @@ private Path createTmpFileFrom(String file) throws 
IOException {
             while ((c = is.read()) >= 0) {
                 baos.write(c);
             }
-            fos.write(baos.toByteArray());
+            String content = new String(baos.toByteArray());
+            content = content.replaceAll("projectsViaClasspath", 
"projectsViaFile");
+            fos.write(content.getBytes());

Review comment:
       I'll fix it.

##########
File path: 
integration-tests/sql/src/test/java/org/apache/camel/quarkus/component/sql/it/SqlTest.java
##########
@@ -67,6 +71,7 @@ public void testSqlComponent() {
     }
 
     @Test
+    @DisabledIfSystemProperty(named = "SQL_JDBC_DB_KIND", matches = 
"[^h][^2].*")

Review comment:
       Makes sense, I'll fix it.




-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to