You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by fo...@apache.org on 2024/06/27 13:08:49 UTC
(avro) branch fd-zzz created (now 70800ad73)
This is an automated email from the ASF dual-hosted git repository.
fokko pushed a change to branch fd-zzz
in repository https://gitbox.apache.org/repos/asf/avro.git
at 70800ad73 Add sleep to make sure that the `getLastModifiedTime` is different
This branch includes the following new commits:
new 70800ad73 Add sleep to make sure that the `getLastModifiedTime` is different
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(avro) 01/01: Add sleep to make sure that the `getLastModifiedTime` is different
Posted by fo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch fd-zzz
in repository https://gitbox.apache.org/repos/asf/avro.git
commit 70800ad735155f11aa1ce35807d9943e511d5228
Author: Fokko Driesprong <fo...@tabular.io>
AuthorDate: Thu Jun 27 15:08:43 2024 +0200
Add sleep to make sure that the `getLastModifiedTime` is different
---
.../src/test/java/org/apache/avro/mojo/TestIDLProtocolMojo.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/lang/java/maven-plugin/src/test/java/org/apache/avro/mojo/TestIDLProtocolMojo.java b/lang/java/maven-plugin/src/test/java/org/apache/avro/mojo/TestIDLProtocolMojo.java
index 315dc3953..5c65ad0d4 100644
--- a/lang/java/maven-plugin/src/test/java/org/apache/avro/mojo/TestIDLProtocolMojo.java
+++ b/lang/java/maven-plugin/src/test/java/org/apache/avro/mojo/TestIDLProtocolMojo.java
@@ -111,6 +111,7 @@ public class TestIDLProtocolMojo extends AbstractAvroMojoTest {
final Path idlUserFilePath = outputDirPath.resolve("IdlUser.java");
final FileTime idlUserModificationTime = Files.getLastModifiedTime(idlUserFilePath);
+ Thread.sleep(1000);
mojo.execute();
// Asserting contents is done in previous tests so just assert existence.