Tsz-wo Sze created RATIS-2256:
---------------------------------

             Summary: Update maven version
                 Key: RATIS-2256
                 URL: https://issues.apache.org/jira/browse/RATIS-2256
             Project: Ratis
          Issue Type: Sub-task
          Components: build
            Reporter: Tsz-wo Sze
            Assignee: Tsz-wo Sze


When migrating to junit 5, we sometimes see "IllegalStateException: Overlapping 
ID assignment" as below.  Let's try updating maven version.
{code}
Warning:  Could not process start event for test [JUnit Jupiter executed by VM 
1]
java.lang.IllegalStateException: Overlapping ID assignment for 
'HashableTestDescriptor{testDescriptor=DefaultTestDescriptor{id=5866381821535424172,
 surefireForkId=1, name='JUnit Jupiter', className='null', parentId=null, 
displayName='null'}, testMojoExecutionId=-6165802485913919921}' (prev: 
'3968948658746052765').
    at com.gradle.scan.plugin.internal.h.g.a (SourceFile:53)
    at java.util.HashMap.compute (HashMap.java:1198)
    at com.gradle.scan.plugin.internal.h.g.a (SourceFile:46)
    at com.gradle.maven.scan.extension.internal.capture.r.l$a.a (SourceFile:342)
    at com.gradle.maven.scan.extension.internal.capture.r.l$a.a (SourceFile:244)
    at com.gradle.maven.scan.extension.internal.capture.r.l.b (SourceFile:136)
    at com.gradle.maven.scan.extension.internal.capture.r.l.b (SourceFile:236)
    at com.gradle.scan.plugin.internal.o.a$a.a (SourceFile:31)
    at com.gradle.scan.plugin.internal.o.a$a.a (SourceFile:20)
    at com.gradle.scan.plugin.internal.o.a.c (SourceFile:67)
    at java.lang.Thread.run (Thread.java:750)
{code}
As an example, see 
https://github.com/apache/ratis/actions/runs/13661097642/job/38193155175?pr=1233#step:11:833



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

Reply via email to