You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2017/10/06 19:53:23 UTC

[geode] branch develop updated: GEODE-3778: fix flakiness with Awaitility

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

klund pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new ecd2993  GEODE-3778: fix flakiness with Awaitility
ecd2993 is described below

commit ecd29933802fb28c1ad69108e47af00c24ad5420
Author: Kirk Lund <kl...@apache.org>
AuthorDate: Fri Oct 6 12:01:39 2017 -0700

    GEODE-3778: fix flakiness with Awaitility
    
    * main thread was completing the test and tearDown before
    the executor thread could return the status
---
 .../geode/internal/process/FileProcessControllerIntegrationTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geode-core/src/test/java/org/apache/geode/internal/process/FileProcessControllerIntegrationTest.java b/geode-core/src/test/java/org/apache/geode/internal/process/FileProcessControllerIntegrationTest.java
index 6eda29f..82f9b8f 100755
--- a/geode-core/src/test/java/org/apache/geode/internal/process/FileProcessControllerIntegrationTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/process/FileProcessControllerIntegrationTest.java
@@ -212,7 +212,7 @@ public class FileProcessControllerIntegrationTest {
     new StringFileWriter(statusFile).writeToFile(STATUS_JSON);
 
     // assert
-    assertThat(statusRequestFile).exists();
+    await().until(() -> assertThat(statusRequestFile).exists());
   }
 
   @Test

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].