You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2024/07/28 22:16:42 UTC
(commons-codec) branch master updated: Try to avoid occasional hang when testing
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 <se...@apache.org>
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
Re: (commons-codec) branch master updated: Try to avoid occasional hang when testing
Posted by Gary Gregory <ga...@gmail.com>.
The hang was fixed by setting the surefire plug in to a 3.2.5 while I fix a
bug in Commons Compress.
Gary
On Sun, Jul 28, 2024, 6:16 PM <se...@apache.org> wrote:
> 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 <se...@apache.org>
> 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
>
>