michael-o commented on issue #2715: URL: https://github.com/apache/maven-surefire/issues/2715#issuecomment-3643679375
> here is a little reproducer: > > pom.xml > > ``` > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > > <groupId>de.m3y3r.surefire</groupId> > <artifactId>reporter-bug</artifactId> > <version>0.1.0-SNAPSHOT</version> > <packaging>jar</packaging> > > <dependencies> > <dependency> > <groupId>org.junit.jupiter</groupId> > <artifactId>junit-jupiter-engine</artifactId> > <version>5.9.1</version> > <scope>test</scope> > </dependency> > </dependencies> > > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-surefire-plugin</artifactId> > <version>3.1.0</version> > </plugin> > </plugins> > </build> > </project> > ``` > > LongTest.java > > ``` > package de.m3y3r.surefire.bug; > > import org.junit.jupiter.api.Test; > import org.junit.jupiter.api.Assertions; > import java.util.concurrent.TimeUnit; > > public class LongTest { > > @Test > public void longRunningTest() throws InterruptedException { > Thread.currentThread().sleep(TimeUnit.SECONDS.toMillis(1000)); > Assertions.assertTrue(true); > } > } > ``` > > Run with: `mvn org.apache.maven.plugins:maven-surefire-report-plugin:3.5.4:report` > > and it will fail with similar error message: > > `[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-report-plugin:3.5.4:report (default-cli) on project reporter-bug: Execution default-cli of goal org.apache.maven.plugins:maven-surefire-report-plugin:3.5.4:report failed: Error parsing JUnit XML report surefire-example/target/surefire-reports/TEST-de.m3y3r.surefire.bug.LongTest.xml: Failed to parse time value: For input string: "3,622.023" -> [Help 1] ` Looks reasonable, can you wrap in a PR? I will pick this up next week. -- 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]
