You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by st...@apache.org on 2020/06/02 08:51:50 UTC

[deltaspike] branch master updated: DELTASPIKE-1402 wait a bit longer

This is an automated email from the ASF dual-hosted git repository.

struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/deltaspike.git


The following commit(s) were added to refs/heads/master by this push:
     new 5ffcaf3  DELTASPIKE-1402 wait a bit longer
5ffcaf3 is described below

commit 5ffcaf3b8243586e9a479f7a7e554a34c7669844
Author: Mark Struberg <st...@apache.org>
AuthorDate: Tue Jun 2 10:51:03 2020 +0200

    DELTASPIKE-1402 wait a bit longer
    
    sadly a few file systems have a bigger lastModified granularity.
    So we better wait a bit longer.
---
 .../core/api/config/propertyconfigsource/BaseTestConfigProperty.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/propertyconfigsource/BaseTestConfigProperty.java b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/propertyconfigsource/BaseTestConfigProperty.java
index ffec0ce..4362d76 100644
--- a/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/propertyconfigsource/BaseTestConfigProperty.java
+++ b/deltaspike/core/impl/src/test/java/org/apache/deltaspike/test/core/api/config/propertyconfigsource/BaseTestConfigProperty.java
@@ -70,7 +70,8 @@ public class BaseTestConfigProperty
 
         Assert.assertEquals("1", ConfigResolver.getPropertyValue(CONFIG_VALUE));
 
-        Thread.sleep(1600L);
+        // we need to take care of file system granularity
+        Thread.sleep(2100L);
 
         try (BufferedWriter bw = new BufferedWriter(new FileWriter(prop)))
         {