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

ASF GitHub Bot commented on KAFKA-3195:
---------------------------------------

GitHub user ijuma opened a pull request:

    https://github.com/apache/kafka/pull/855

    KAFKA-3195; Transient test failure in OffsetCheckpointTest.testReadWrite

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ijuma/kafka 
kafka-3195-offset-checkpoint-test-transient-failure

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/855.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #855
    
----
commit 4db54d599de7461aa15d717714747bc03d9857bc
Author: Ismael Juma <ism...@juma.me.uk>
Date:   2016-02-03T01:28:43Z

    Use temp file in `OffsetCheckpointTest`

----


> Transient test failure in OffsetCheckpointTest.testReadWrite
> ------------------------------------------------------------
>
>                 Key: KAFKA-3195
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3195
>             Project: Kafka
>          Issue Type: Bug
>          Components: kafka streams
>            Reporter: Ewen Cheslack-Postava
>            Assignee: Ismael Juma
>
> It looks like its probably an issue with parallel tests trying to access the 
> same fixed path, where one test deletes the file. Saw this on 
> 86a9036a7b03c8ae07d014c25a5eedc315544139.
> {quote}
> org.apache.kafka.streams.state.internals.OffsetCheckpointTest > testReadWrite 
> FAILED
>     java.io.FileNotFoundException: 
> /tmp/kafka-streams/offset_checkpoint.test.tmp (No such file or directory)
>         at java.io.FileOutputStream.open(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
>         at 
> org.apache.kafka.streams.state.internals.OffsetCheckpoint.write(OffsetCheckpoint.java:68)
>         at 
> org.apache.kafka.streams.state.internals.OffsetCheckpointTest.testReadWrite(OffsetCheckpointTest.java:48)
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to