You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2014/08/12 15:35:11 UTC

[jira] [Commented] (SLIDER-309) add functional tests of sliding-window failure handling

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

Steve Loughran commented on SLIDER-309:
---------------------------------------

This could be tested with the chaos monkey

# set it up with a 100% failure rate
# and a poll frequency to ensure that its failure rate is just below the threshold
# expect it to run for a while
# flex to a lower threshold/larger window
# expect app failure

> add functional tests of sliding-window  failure handling
> --------------------------------------------------------
>
>                 Key: SLIDER-309
>                 URL: https://issues.apache.org/jira/browse/SLIDER-309
>             Project: Slider
>          Issue Type: Test
>          Components: appmaster, test
>    Affects Versions: Slider 0.40
>            Reporter: Steve Loughran
>
> There's some testing of the sliding window logic at the mock level, and of configurable thresholds in the HBase provider.
> But not in the agent. We need
> # functional test to verify that a failure rate less than (threshold/window-size) is acceptable.
> # test to verify window is reset on AM failure (manually verified)
> # test to verify that a cluster flex resets the values and allows the threshold to be changed



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