Skip to content

ClassPathTest.testLocationsFrom_idempotentScan failure #8295

@cpovirk

Description

@cpovirk
Error:  Failures: 
Error:    ClassPathTest.testLocationsFrom_idempotentScan:492 unexpected (5)
#1      : target/surefire-reports/com.google.common.primitives.UnsignedLongsTest.txt
#2      : target/surefire-reports/com.google.common.reflect.AbstractInvocationHandlerTest.txt
#3      : target/surefire-reports/TEST-com.google.common.reflect.AbstractInvocationHandlerTest.xml
#4      : target/surefire-reports/com.google.common.reflect.ClassPathTest-output.txt
#5      : target/surefire-reports/TEST-com.google.common.primitives.UnsignedLongsTest.xml
---
expected: [benchmark/com/google/common/cache/SegmentBenchmark.java, benchmark/com/google/common/cache/ChainBenchmark.java, ...

https://github.com/google/guava/actions/runs/23457793433/job/68251479033

I guess that Surefire is putting its reports directory on the classpath? That seems weird. And then somehow some reports are getting written during the execution of an individual method in ClassPathTest (and not just ClassPathTest-output.txt)? That also seems weird.

I'm going to hope that this goes away on its own, but I expect that we'll see it again....

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions