You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2024/07/22 23:19:00 UTC

[jira] [Created] (SPARK-48969) Fix `spark-operator` module to define test framework explicitly

Dongjoon Hyun created SPARK-48969:
-------------------------------------

             Summary: Fix `spark-operator` module to define test framework explicitly
                 Key: SPARK-48969
                 URL: https://issues.apache.org/jira/browse/SPARK-48969
             Project: Spark
          Issue Type: Sub-task
          Components: Build, Tests
    Affects Versions: kubernetes-operator-0.1.0
            Reporter: Dongjoon Hyun


[https://docs.gradle.org/8.9/userguide/upgrading_version_8.html#test_framework_implementation_dependencies]

 
{code:java}
$ ./gradlew clean test --warning-mode=fail

...

> Task :spark-operator:test
The automatic loading of test framework implementation dependencies has been deprecated. This is scheduled to be removed in Gradle 9.0. Declare the desired test framework directly on the test suite or explicitly declare the test framework implementation dependencies on the test's runtime classpath. Consult the upgrading guide for further information: https://docs.gradle.org/8.9/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appendedFAILURE: Build failed with an exception.* What went wrong:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.BUILD FAILED in 6s
16 actionable tasks: 16 executed {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org