This is an automated email from the ASF dual-hosted git repository.
khmarbaise pushed a commit to branch MSHARED-727-surefire
in repository https://gitbox.apache.org/repos/asf/maven-archiver.git
The following commit(s) were added to refs/heads/MSHARED-727-surefire by this
push:
new ee18f0e Improved test stability.
ee18f0e is described below
commit ee18f0ece3a9922683f59f841705587833d8e2d7
Author: Karl Heinz Marbaise <[email protected]>
AuthorDate: Tue Jun 19 19:25:32 2018 +0200
Improved test stability.
---
src/test/java/org/apache/maven/archiver/MavenArchiverTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
index e877492..05fda29 100644
--- a/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
+++ b/src/test/java/org/apache/maven/archiver/MavenArchiverTest.java
@@ -249,7 +249,8 @@ public class MavenArchiverTest
config.setForced( true );
archiver.createArchive( session, project, config );
- assertTrue( jarFile.lastModified() > time );
+ //I'm not sure if it could only be greater than time or if it is
sufficient to be greater or equal..
+ assertTrue( jarFile.lastModified() >= time );
}
@Test