This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git
The following commit(s) were added to refs/heads/master by this push:
new cd2b0907 Try to avoid occasional hang when testing
cd2b0907 is described below
commit cd2b090758ce2b92b6e07bec568687d694db9814
Author: Sebb <[email protected]>
AuthorDate: Sun Jul 28 23:16:36 2024 +0100
Try to avoid occasional hang when testing
---
src/test/java/org/apache/commons/codec/digest/Md5CryptTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/test/java/org/apache/commons/codec/digest/Md5CryptTest.java
b/src/test/java/org/apache/commons/codec/digest/Md5CryptTest.java
index bde44765..091815da 100644
--- a/src/test/java/org/apache/commons/codec/digest/Md5CryptTest.java
+++ b/src/test/java/org/apache/commons/codec/digest/Md5CryptTest.java
@@ -27,7 +27,9 @@ import java.util.Arrays;
import java.util.concurrent.ThreadLocalRandom;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.Timeout;
+@Timeout(3) // Try to avoid occaisional hang when testing
public class Md5CryptTest {
@Test