olabusayoT commented on code in PR #1333:
URL: https://github.com/apache/daffodil/pull/1333#discussion_r1797226673
##########
daffodil-test-integration/src/test/scala/org/apache/daffodil/cliTest/TestCLIUdfs.scala:
##########
@@ -64,8 +64,9 @@ class TestCLIUdfs {
val schema = path(
"daffodil-udf/src/test/resources/org/apache/daffodil/udf/genericUdfSchema.xsd"
)
+ val classpath = udfClasspath()
- runCLI(args"-v parse -s $schema -r user_func1") { cli =>
+ runCLI(args"-v parse -s $schema -r user_func1", classpath) { cli =>
Review Comment:
So I think the addition of the daffodil-test as a dependency caused the
internal classpath to have the UDFs available which caused the test to fail
with the changes, so we had to explicitly set the the udfClasspath to be empty
for it to pass.
Before we didn't need to because the daffodil-test (which contains the UDF
dependencies was missing)
I can update with a comment for clarity though
--
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]