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 in 851e81d8, and removed the standalone Java/CTest runner. The existing Spark 3.5 group-1 Java CI job now runs them through Maven Surefire with `-Pjni-test`, using a separately built test-only JNI bridge. All four cases pass locally through the normal Maven lifecycle without starting Spark or a backend. A missing bridge fails the run 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]
