Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 868681 - dev-java/snakeyaml-1.33: excludes ContextClassLoaderTest because of unresolved test failures
Summary: dev-java/snakeyaml-1.33: excludes ContextClassLoaderTest because of unresolve...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Java-test-failures
  Show dependency tree
 
Reported: 2022-09-06 07:21 UTC by Volkmar W. Pogatzki
Modified: 2022-10-12 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volkmar W. Pogatzki 2022-09-06 07:21:12 UTC
# There were 2 failures:
# 1) yamlClassInYAMLCL(org.yaml.snakeyaml.issues.issue318.ContextClassLoaderTest)
# java.lang.ClassNotFoundException: org.yaml.snakeyaml.Yaml
#         at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
#         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
#         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
#         at org.yaml.snakeyaml.issues.issue318.ContextClassLoaderTest.yamlClassInYAMLCL(ContextClassLoaderTest.java:127)
# 2) domainInDifferentConstructor(org.yaml.snakeyaml.issues.issue318.ContextClassLoaderTest)
# java.lang.ClassNotFoundException: org.yaml.snakeyaml.Yaml
#         at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
#         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
#         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
#         at org.yaml.snakeyaml.issues.issue318.ContextClassLoaderTest.domainInDifferentConstructor(ContextClassLoaderTest.java:135)

pushd src/test/java || die 
    local JAVA_TEST_RUN_ONLY=$(find * -name "*Test.java" \
        ! -name "StressTest.java" \
        ! -name "ParallelTest.java" \
        ! -name "AbstractTest.java" \
        ! -name "PyImportTest.java" \
        ! -name "ContextClassLoaderTest.java" \
        )   
popd