crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chao Shi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CRUNCH-318) CheckpointIT#testCheckpoints fails (sometimes)
Date Fri, 03 Jan 2014 02:19:50 GMT

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

Chao Shi commented on CRUNCH-318:
---------------------------------

I used to hit this problem sometimes.
I see this patch adds a sleep after "copyResourceFileName" to tmpdir. I think we are doing
all such things in other tests, but I cannot figure out why the others do not fail randomly.
What is the difference between CheckpointIT and the others?

> CheckpointIT#testCheckpoints fails (sometimes)
> ----------------------------------------------
>
>                 Key: CRUNCH-318
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-318
>             Project: Crunch
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.9.0
>            Reporter: Ryan Blue
>            Assignee: Josh Wills
>             Fix For: 0.10.0
>
>         Attachments: 0001-CRUNCH-318-Add-sleep-to-fix-CheckpointIT.patch
>
>
> This appears to be due to a timing issue. I can't find any problem in the code, which
appears to be taking the correct path and checking the modified time of the underlying checkpoint.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message