[ 
https://issues.apache.org/jira/browse/GEODE-4355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334881#comment-16334881
 ] 

Kirk Lund commented on GEODE-4355:
----------------------------------

I see in the test code what causes the flakiness:
{noformat}
    // assert
    verify(requestHandler, timeout(TEN_MINUTES_MILLIS)).handleRequest();
    assertThat(file).doesNotExist();
{noformat}
Should change to:
{noformat}
    // assert
    verify(requestHandler, timeout(TEN_MINUTES_MILLIS)).handleRequest();
    await().atMost(10, MINUTES).until(() -> assertThat(file).doesNotExist());
{noformat}

> ControlFileWatchdogIntegrationTest.invokesRequestHandler_afterFileCreation 
> fails intermittently in CI
> -----------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-4355
>                 URL: https://issues.apache.org/jira/browse/GEODE-4355
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh, tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Major
>              Labels: Flaky
>
> This test usually passes but failed in these CI runs:
> * 
> https://concourse.apachegeode-ci.info/teams/main/pipelines/develop/jobs/IntegrationTest/builds/98
> * 
> https://concourse.apachegeode-ci.info/teams/main/pipelines/develop/jobs/IntegrationTest/builds/123



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

Reply via email to