This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 9c09fdf29 Be lenient for slow running builds
9c09fdf29 is described below
commit 9c09fdf291c809cfc78a51a31f9c911455c69628
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Aug 27 08:40:54 2023 -0400
Be lenient for slow running builds
---
src/test/java/org/apache/commons/lang3/time/StopWatchTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/lang3/time/StopWatchTest.java
b/src/test/java/org/apache/commons/lang3/time/StopWatchTest.java
index 7d85c5ab5..9a29fb5d0 100644
--- a/src/test/java/org/apache/commons/lang3/time/StopWatchTest.java
+++ b/src/test/java/org/apache/commons/lang3/time/StopWatchTest.java
@@ -321,7 +321,8 @@ public class StopWatchTest extends AbstractLangTest {
assertTrue(suspendTime >= 500, "suspendTime = " + suspendTime);
assertTrue(suspendTime < 700, "suspendTime = " + suspendTime);
assertTrue(totalTime >= 1000, "totalTime = " + totalTime);
- assertTrue(totalTime < 1300, "totalTime = " + totalTime);
+ // Be lenient for slow running builds
+ assertTrue(totalTime < 2500, "totalTime = " + totalTime);
}
@Test