You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2014/07/07 07:08:34 UTC

[jira] [Commented] (CASSANDRA-7500) HintedHandOffTest failing due to timeout

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

Jonathan Ellis commented on CASSANDRA-7500:
-------------------------------------------

Shouldn't incrPastWindow be basically free?  I don't see what's so expensive.

> HintedHandOffTest failing due to timeout
> ----------------------------------------
>
>                 Key: CASSANDRA-7500
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7500
>             Project: Cassandra
>          Issue Type: Test
>          Components: Tests
>         Environment: OSX Mavericks 
> 2.9 GHz Intel i7
>            Reporter: Lyuben Todorov
>            Assignee: Lyuben Todorov
>            Priority: Minor
>             Fix For: 2.1.0
>
>         Attachments: 0001-Reduce-stored-hints-to-prevent-timeout-for-HintedHan.patch
>
>
> {{HintedHandOffTest#testHintsMetrics}} fails due to timing out. This is due to the for loop used for past window incrementation. 99 iterations causes a timeout on my machine. Attaching a patch that lowers the loop to 5 iterations, the alternative is to increase the timeout windows but it seems like 5 iterations should satisfy the test case. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)