You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2021/03/04 04:40:21 UTC
[maven-surefire] branch master updated: build fix -
CheckTestNg740ParallelIT should start with Java 1.8
This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
The following commit(s) were added to refs/heads/master by this push:
new 97220cd build fix - CheckTestNg740ParallelIT should start with Java 1.8
97220cd is described below
commit 97220cd59ae0b36577e4aab3ae3604ff4ebe0ee6
Author: tibordigana <ti...@apache.org>
AuthorDate: Thu Mar 4 05:39:21 2021 +0100
build fix - CheckTestNg740ParallelIT should start with Java 1.8
---
.../org/apache/maven/surefire/its/CheckTestNg740ParallelIT.java | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/surefire-its/src/test/java/org/apache/maven/surefire/its/CheckTestNg740ParallelIT.java b/surefire-its/src/test/java/org/apache/maven/surefire/its/CheckTestNg740ParallelIT.java
index 6546bea..34ae11a 100644
--- a/surefire-its/src/test/java/org/apache/maven/surefire/its/CheckTestNg740ParallelIT.java
+++ b/surefire-its/src/test/java/org/apache/maven/surefire/its/CheckTestNg740ParallelIT.java
@@ -20,13 +20,22 @@ package org.apache.maven.surefire.its;
*/
import org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase;
+import org.junit.Before;
import org.junit.Test;
+import static org.apache.maven.surefire.its.fixture.HelperAssertions.assumeJavaVersion;
+
/**
*/
public class CheckTestNg740ParallelIT
extends SurefireJUnit4IntegrationTestCase
{
+ @Before
+ public void assumeJava8Plus()
+ {
+ assumeJavaVersion( 1.8d );
+ }
+
@Test
public void withTestNG740AndParallelSet()
{