kaka11chen commented on code in PR #62780:
URL: https://github.com/apache/doris/pull/62780#discussion_r3148315192


##########
run-be-ut.sh:
##########
@@ -363,15 +363,46 @@ touch "${UT_TMP_DIR}/tmp_file"
 
 # prepare java jars
 LIB_DIR="${DORIS_TEST_BINARY_DIR}/lib/"
+JAVA_EXT_DIR="${LIB_DIR}/java_extensions"

Review Comment:
     Yes, because the Paimon JNI real BE UT depends on Java extension jars. We 
moved
     classpath setup to `run-be-ut.sh` instead of doing it in the C++ test, so 
the test
     can run via the standard BE UT runner. Without this, JNI init fails with 
`Failed to
     find JniUtil class`.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to