Skip to content

Commit ddc5cae

Browse files
committed
PDFBOX-5660: isolate timezone change
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1932942 13f79535-47bb-0310-9956-ffa450edef68
1 parent 6661f55 commit ddc5cae

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pdfbox/src/test/java/org/apache/pdfbox/util/TestDateUtil.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@
2727
import java.util.TimeZone;
2828

2929
import org.apache.pdfbox.cos.COSString;
30+
3031
import org.junit.jupiter.api.Test;
32+
import org.junit.jupiter.api.parallel.Isolated;
33+
import org.junit.jupiter.api.parallel.ResourceLock;
34+
import org.junit.jupiter.api.parallel.Resources;
3135

3236
/**
3337
* Test the date conversion utility.
@@ -36,6 +40,7 @@
3640
* @author Fred Hansen
3741
*
3842
*/
43+
@Isolated
3944
class TestDateUtil
4045
{
4146
private static final int MINS = 60*1000, HRS = 60*MINS;
@@ -45,6 +50,7 @@ class TestDateUtil
4550
/**
4651
* Test common date formats.
4752
*/
53+
@ResourceLock(Resources.TIME_ZONE)
4854
@Test
4955
void testExtract()
5056
{

0 commit comments

Comments
 (0)