You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Patrick Rhomberg (JIRA)" <ji...@apache.org> on 2018/11/21 20:46:00 UTC

[jira] [Updated] (GEODE-6079) Suspect string check in DUnitLauncher.closeAndCheckForSuspects does not wait for buffers / disk to flush.

     [ https://issues.apache.org/jira/browse/GEODE-6079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Rhomberg updated GEODE-6079:
------------------------------------
    Description: 
This can cause a test that should fail with suspect strings to fail a later test, since those suspect strings had not been written to disk before they were read from disk by the aforementioned method.

Adding a {{FileDescriptor.sync()}} to that method should resolve this issue.  This may cause significant issues in testing, however, since the file is shared across multiple concurrent tests.

  was:
This can cause a test that should fail with suspect strings to fail a later test, since those suspect strings had not been written to disk before they were read from disk by the aforementioned method.

Adding a {{FileDescriptor.sync()}} to that method should resolve this issue.


> Suspect string check in DUnitLauncher.closeAndCheckForSuspects does not wait for buffers / disk to flush.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-6079
>                 URL: https://issues.apache.org/jira/browse/GEODE-6079
>             Project: Geode
>          Issue Type: Improvement
>            Reporter: Patrick Rhomberg
>            Priority: Major
>
> This can cause a test that should fail with suspect strings to fail a later test, since those suspect strings had not been written to disk before they were read from disk by the aforementioned method.
> Adding a {{FileDescriptor.sync()}} to that method should resolve this issue.  This may cause significant issues in testing, however, since the file is shared across multiple concurrent tests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)