felipepessoto commented on code in PR #13560:
URL: https://github.com/apache/gluten/pull/13560#discussion_r4536911266


##########
gluten-arrow/src/test/java/org/apache/gluten/jni/JavaExceptionJniTest.java:
##########
@@ -0,0 +1,137 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.gluten.jni;
+
+import org.apache.gluten.exception.GlutenException;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.Map;
+
+/** Lightweight JVM cases run by the native CTest suite, without Spark or a 
backend. */
+public final class JavaExceptionJniTest {

Review Comment:
   Moved these to 
`gluten-arrow/src/test/java/org/apache/gluten/jni/JavaExceptionJniTest.java` as 
JUnit tests, and removed the standalone Java/CTest runner.
   
   The CI wiring is simplified in f27da110: the existing `cpp-test-udf-test` 
job builds the test-only bridge locally and runs the tests through Maven 
Surefire with `-Pjni-test` in the same job. No separate test artifact is 
needed. All four cases pass locally using that Maven step's profiles and tag 
filters, without starting Spark or a backend. A missing bridge fails rather 
than skipping the tests.



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