Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3C2C1200BD9 for ; Fri, 25 Nov 2016 06:31:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3AED4160B1F; Fri, 25 Nov 2016 05:31:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A983B160B1E for ; Fri, 25 Nov 2016 06:31:00 +0100 (CET) Received: (qmail 79262 invoked by uid 500); 25 Nov 2016 05:30:59 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 79248 invoked by uid 99); 25 Nov 2016 05:30:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2016 05:30:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 996222C03DE for ; Fri, 25 Nov 2016 05:30:59 +0000 (UTC) Date: Fri, 25 Nov 2016 05:30:59 +0000 (UTC) From: "Tibor Digana (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SUREFIRE-1306) JUnit4RerunFailingTestsIT does not execute with the JUnit version configured in the test MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 25 Nov 2016 05:31:01 -0000 [ https://issues.apache.org/jira/browse/SUREFIRE-1306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tibor Digana updated SUREFIRE-1306: ----------------------------------- Fix Version/s: 2.19.2 > JUnit4RerunFailingTestsIT does not execute with the JUnit version configured in the test > ---------------------------------------------------------------------------------------- > > Key: SUREFIRE-1306 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1306 > Project: Maven Surefire > Issue Type: Test > Reporter: Benedikt Ritter > Assignee: Tibor Digana > Fix For: 2.19.2 > > > All the test methods in JUnit4RerunFailingTestsIT set JUnit Version explicitly to 4.7 by calling {{setJUnitVersion( "4.7" )}}. This will in turn set the system property {{junit.version}}. The problem with this is, that the pom.xml in the test project (junit4-rerun-failing-tests) uses the property {{junitVersion}} instead. The version is set to 4.4 in pom.xml. Furthermore using JUnit 4.7 version in pom.xml results in test failures. > Suggested solution: Drop the {{junitVersion}} property from pom.xml and use {{junit.version}} instead, making it possible to set the version from the test cases. Use version 4.12, since there seems to be a regression in 4.7 causing the test to fail with this version. -- This message was sent by Atlassian JIRA (v6.3.4#6332)