Clone URL (Committers only):
https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/examples-trunk%2Fasync-methods%2FREADME.md
Jochen Vajda
Index: trunk/content/examples-trunk/async-methods/README.md
===================================================================
--- trunk/content/examples-trunk/async-methods/README.md (revision
1590845)
+++ trunk/content/examples-trunk/async-methods/README.md (working copy)
@@ -80,6 +80,8 @@
final long total = TimeUnit.NANOSECONDS.toSeconds(System.nanoTime() -
start);
// Execution should be around 9 - 21 seconds
+ // The execution time depends on the number of threads available for
asynchronous execution.
+ // In the best case it is 10s plus some minimal processing time.
assertTrue("" + total, total > 9);
assertTrue("" + total, total < 21);