Skip to content

Commit cd2b090

Browse files
committed
Try to avoid occasional hang when testing
1 parent 370e9aa commit cd2b090

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/test/java/org/apache/commons/codec/digest/Md5CryptTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
import java.util.concurrent.ThreadLocalRandom;
2828

2929
import org.junit.jupiter.api.Test;
30+
import org.junit.jupiter.api.Timeout;
3031

32+
@Timeout(3) // Try to avoid occaisional hang when testing
3133
public class Md5CryptTest {
3234

3335
@Test

0 commit comments

Comments
 (0)