Skip to content

Commit 6cc3084

Browse files
committed
Fix tests
1 parent 0751e0f commit 6cc3084

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/test/java/org/codehaus/plexus/util/io/CachingOutputStreamTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public void testWriteNoExistingFile() throws IOException, InterruptedException
7272
assertArrayEquals( data, read );
7373
FileTime newModified = Files.getLastModifiedTime( path );
7474
assertEquals( modified, newModified );
75+
modified = newModified;
7576

7677
Thread.sleep( 250 );
7778

src/test/java/org/codehaus/plexus/util/io/CachingWriterTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public void testWriteNoExistingFile() throws IOException, InterruptedException
7272
assertEquals( data, read );
7373
FileTime newModified = Files.getLastModifiedTime( path );
7474
assertEquals( modified, newModified );
75+
modified = newModified;
7576

7677
Thread.sleep( 250 );
7778

0 commit comments

Comments
 (0)