[
https://issues.apache.org/jira/browse/SLIDER-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095854#comment-14095854
]
ASF subversion and git services commented on SLIDER-202:
--------------------------------------------------------
Commit 8ed52a90ef413931bf48e23a6d4565694a95bdb2 in incubator-slider's branch
refs/heads/feature/SLIDER-285_Restart_AM from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=8ed52a9 ]
SLIDER-202: tweak mock tests to automatically get name from test method unless
overridden.
> add integral/configurable chaos monkey to slider AM
> ----------------------------------------------------
>
> Key: SLIDER-202
> URL: https://issues.apache.org/jira/browse/SLIDER-202
> Project: Slider
> Issue Type: Sub-task
> Components: appmaster, test
> Affects Versions: Slider 0.40
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Time Spent: 4h
> Remaining Estimate: 0h
>
> The slider funtests trigger container and AM failure in the test code via RPC
> calls "killContainer" and "amSuicide". This is good for standalone tests, but
> complicates functional test deployments where we can't easily run such logic
> client-side.
> Proposed: a built in chaos monkey service in the AM which, when enabled, will
> -at given intervals- check to see if a container or AM restart should be
> triggered based on some preconfigured probabilities.
> This will be embedded and can be used in production if desired.
> e.g, short test:
> {code}
> interval = 60s, P(AM)=0.1, P(Container)=1.0
> {code}
> long test
> {code}
> interval = 600s, P(AM)=0.01, P(Container)=0.5
> {code}
> production
> {code}
> interval = 24h, P(AM)=0., P(Container)=0.1
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)