This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch maven2surefire-jvm-communication
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to 
refs/heads/maven2surefire-jvm-communication by this push:
     new 8c7a739  E2ETest performance test
8c7a739 is described below

commit 8c7a7394aeeb6afd20a7d18f112cf2816e500e13
Author: tibordigana <tibordig...@apache.org>
AuthorDate: Sat Apr 4 10:22:55 2020 +0200

    E2ETest performance test
---
 .../java/org/apache/maven/plugin/surefire/extensions/E2ETest.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/extensions/E2ETest.java
 
b/maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/extensions/E2ETest.java
index c22da94..8f4fe5d 100644
--- 
a/maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/extensions/E2ETest.java
+++ 
b/maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/extensions/E2ETest.java
@@ -169,7 +169,9 @@ public class E2ETest
         // 2 seconds while using the encoder/decoder
         // 160 millis of sending pure data without encoder/decoder
         assertThat( readTime.get() )
+            .describedAs( "The performance test should assert 2s of read time. 
"
+                + "The limit 6s guarantees that the read time does not exceed 
this limit on overloaded CPU." )
             .isPositive()
-            .isLessThanOrEqualTo( 3_000L );
+            .isLessThanOrEqualTo( 6_000L );
     }
 }

Reply via email to