maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <j...@codehaus.org>
Subject [jira] (SUREFIRE-827) Surefire 2.12 cannot run a single test, regression from 2.11
Date Sun, 08 Jul 2012 19:27:21 GMT

    [ https://jira.codehaus.org/browse/SUREFIRE-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=302994#comment-302994
] 

Kristian Rosenvold commented on SUREFIRE-827:
---------------------------------------------

@Andrew; I am unable to reproduce this on my linux mint installation. Unless you can supply
a mini test-project (maybe modify the one already attached) that demonstrates this I will
close this issue as cannot reproduce.

All the ms-windows users chiming in on this issue should note this has been fixed for windows.

FWIW I tried this pom:

<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>SUREFIRE</groupId>
    <artifactId>BUG-827</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.10</version>
        </dependency>
    </dependencies>
<properties><surefire.version>2.12</surefire.version></properties>
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>${surefire.version}</version>
<configuration>
<parallel>classes</parallel>
<threadCount>2</threadCount>
</configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
</project>

                
> Surefire 2.12 cannot run a single test, regression from 2.11
> ------------------------------------------------------------
>
>                 Key: SUREFIRE-827
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-827
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.7+ (parallel) support
>    Affects Versions: 2.12
>         Environment: Ubuntu 11.10
>            Reporter: Andrew Gaul
>            Assignee: Kristian Rosenvold
>             Fix For: 2.13
>
>         Attachments: BUG-827.zip
>
>
> # Surefire 2.11
> $ mvn test -Dtest=DataTest#testDataServerGetNonExistentFile
> ...
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
> # Surefire 2.12
> mvn test -Dtest=DataTest#testDataServerGetNonExistentFile
> ...
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message