Module Import alias Import alias Import alias ImportFrom alias identifier ImportFrom alias identifier Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Dict NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body For NameStore NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Expr Yield TupleLoad SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore ListLoad Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Str keyword BinOpMult NameLoad Num keyword NameLoad keyword Num Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore ListLoad Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Str keyword BinOpMult NameLoad Num keyword NameLoad keyword Num Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Num Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore ListLoad Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Str keyword BinOpMult NameLoad Num keyword NameLoad keyword Num Call NameLoad keyword Call NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword Call NameLoad keyword Str keyword BinOpMult NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore ListLoad Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Str keyword BinOpMult NameLoad Num keyword NameLoad keyword Num Call NameLoad keyword Call NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword Call NameLoad keyword Str keyword NameLoad Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore ListLoad Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Str keyword BinOpMult NameLoad Num keyword NameLoad keyword Num Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Str keyword BinOpMult NameLoad Num keyword NameLoad keyword Num Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Num Call NameLoad keyword Call NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword Call NameLoad keyword Str keyword BinOpMult NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Call NameLoad Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore ListLoad Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Str keyword BinOpMult NameLoad Num keyword BinOpMult NameLoad Num keyword Num Call NameLoad keyword Call NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword Call NameLoad keyword Str keyword BinOpMult NameLoad Num Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword BinOpMult NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Call NameLoad keyword BinOpMult NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore ListLoad Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Str keyword BinOpMult NameLoad Num keyword NameLoad keyword Num Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Str keyword BinOpMult NameLoad Num keyword NameLoad keyword Num Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Dict Str Str Call NameLoad Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore ListLoad Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword NameLoad keyword Num keyword NameLoad Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword BinOpMult NameLoad Num Call NameLoad keyword Call NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword Call NameLoad keyword Str keyword BinOpMult NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore ListLoad Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Call NameLoad keyword Str keyword NameLoad keyword Num keyword NameLoad Call NameLoad keyword Call NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword Call NameLoad keyword Str keyword BinOpAdd NameLoad BinOpMult NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad decorator_list decorator_list
N/A N/A functools N/A mock N/A testtools shaker.engine.executors base base_executor shaker.engine quorum quorum_pkg N/A STEP 10 N/A LOSS_TIMEOUT 60 N/A JOIN_TIMEOUT 600 N/A make_quorum N/A N/A functools partial N/A quorum_pkg Quorum polling_interval STEP agent_loss_timeout LOSS_TIMEOUT agent_join_timeout JOIN_TIMEOUT DummyExecutor N/A N/A base_executor BaseExecutor N/A __init__ N/A N/A self duration N/A STEP N/A N/A N/A N/A N/A super DummyExecutor self __init__ N/A None N/A N/A self duration duration N/A get_expected_duration N/A N/A self N/A N/A N/A N/A self duration N/A process_reply N/A N/A self message N/A N/A N/A N/A N/A N/A super DummyExecutor self process_reply message N/A get_command N/A N/A self N/A N/A N/A RUN N/A N/A TestQuorum N/A N/A testtools TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self mock_time N/A N/A mock Mock N/A N/A self _mock_patch N/A N/A mock patch time.time N/A self mock_time N/A N/A N/A N/A self _mock_patch start N/A N/A N/A N/A super TestQuorum self setUp N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self _mock_patch stop N/A N/A N/A N/A super TestQuorum self tearDown N/A _reply N/A N/A self expected N/A N/A reply_handler N/A N/A reply_message N/A N/A N/A N/A N/A self assertEqual expected reply_message N/A N/A reply_handler N/A _message_queue_gen N/A N/A self event_stream fail_at_end N/A True N/A N/A event event_stream N/A N/A N/A N/A self mock_time return_value N/A event N/A time N/A N/A N/A N/A event N/A msg N/A N/A self _reply N/A event N/A reply N/A test_poll_reply N/A N/A self N/A N/A N/A N/A N/A self mock_time return_value 0 N/A event_stream N/A N/A dict msg N/A dict operation poll agent_id alpha reply N/A dict operation execute command RUN start_at N/A STEP 2 expected_duration STEP time 1 N/A dict msg N/A dict operation reply agent_id alpha reply N/A dict operation none time 20 N/A quorum N/A make_quorum N/A N/A self _message_queue_gen event_stream N/A test_case N/A alpha N/A DummyExecutor N/A result N/A N/A quorum execute test_case N/A N/A N/A self assertEqual N/A N/A result keys N/A N/A test_case keys N/A test_poll_reply_unknown_agent_ignored N/A N/A self N/A N/A N/A N/A N/A self mock_time return_value 0 N/A event_stream N/A N/A dict msg N/A dict operation poll agent_id alpha reply N/A dict operation execute command RUN start_at N/A STEP 2 expected_duration STEP time 1 N/A dict msg N/A dict operation reply agent_id beta reply N/A dict operation none time 20 N/A dict msg N/A dict operation reply agent_id alpha reply N/A dict operation none time 20 N/A quorum N/A make_quorum N/A N/A self _message_queue_gen event_stream N/A test_case N/A alpha N/A DummyExecutor N/A result N/A N/A quorum execute test_case N/A N/A N/A self assertEqual N/A N/A result keys N/A N/A test_case keys N/A test_lost_agent N/A N/A self N/A N/A N/A N/A N/A self mock_time return_value 0 N/A event_stream N/A N/A dict msg N/A dict operation poll agent_id alpha reply N/A dict operation execute command RUN start_at N/A STEP 2 expected_duration STEP time 1 N/A dict msg N/A dict operation reply agent_id N/A quorum_pkg HEARTBEAT_AGENT reply N/A dict operation none time N/A STEP 10 N/A quorum N/A make_quorum N/A N/A self _message_queue_gen event_stream N/A test_case N/A alpha N/A DummyExecutor N/A result N/A N/A quorum execute test_case N/A N/A N/A self assertEqual N/A N/A result keys N/A N/A test_case keys N/A N/A N/A self assertEqual lost N/A N/A result N/A alpha N/A status N/A test_agent_loss_timeout N/A N/A self N/A N/A N/A Tests that agent is not marked as lost during loss-timeout. N/A N/A N/A self mock_time return_value 0 N/A event_stream N/A N/A dict msg N/A dict operation poll agent_id _lost reply N/A dict operation execute command RUN start_at N/A STEP 2 expected_duration STEP time 1 N/A dict msg N/A dict operation reply agent_id N/A quorum_pkg HEARTBEAT_AGENT reply N/A dict operation none time LOSS_TIMEOUT N/A dict msg N/A dict operation reply agent_id _lost reply N/A dict operation none time LOSS_TIMEOUT N/A quorum N/A make_quorum N/A N/A self _message_queue_gen event_stream N/A test_case N/A _lost N/A DummyExecutor N/A result N/A N/A quorum execute test_case N/A N/A N/A self assertEqual N/A N/A result keys N/A N/A test_case keys N/A N/A N/A self assertEqual ok N/A N/A result N/A _lost N/A status N/A test_good_and_lost N/A N/A self N/A N/A N/A N/A N/A self mock_time return_value 0 N/A event_stream N/A N/A dict msg N/A dict operation poll agent_id _lost reply N/A dict operation execute command RUN start_at N/A STEP 2 expected_duration STEP time 1 N/A dict msg N/A dict operation poll agent_id beta reply N/A dict operation execute command RUN start_at N/A STEP 2 expected_duration STEP time 2 N/A dict msg N/A dict operation reply agent_id beta reply N/A dict operation none time 20 N/A dict msg N/A dict operation reply agent_id N/A quorum_pkg HEARTBEAT_AGENT reply N/A dict operation none time N/A STEP 10 N/A quorum N/A make_quorum N/A N/A self _message_queue_gen event_stream N/A test_case N/A _lost beta N/A DummyExecutor N/A DummyExecutor N/A result N/A N/A quorum execute test_case N/A N/A N/A self assertEqual N/A set N/A N/A result keys N/A set N/A N/A test_case keys N/A N/A N/A self assertEqual lost N/A N/A result N/A _lost N/A status N/A N/A N/A self assertEqual ok N/A N/A result N/A beta N/A status N/A test_wait_agentexecutening_long_test N/A N/A self N/A N/A N/A N/A N/A self mock_time return_value 0 N/A event_stream N/A N/A dict msg N/A dict operation poll agent_id alpha reply N/A dict operation execute command RUN start_at N/A STEP 2 expected_duration N/A STEP 9 time 1 N/A dict msg N/A dict operation reply agent_id N/A quorum_pkg HEARTBEAT_AGENT reply N/A dict operation none time N/A STEP 4 N/A dict msg N/A dict operation reply agent_id alpha reply N/A dict operation none time N/A STEP 9 N/A quorum N/A make_quorum N/A N/A self _message_queue_gen event_stream N/A test_case N/A alpha N/A DummyExecutor duration N/A STEP 9 N/A result N/A N/A quorum execute test_case N/A N/A N/A self assertEqual N/A N/A result keys N/A N/A test_case keys N/A N/A N/A self assertEqual ok N/A N/A result N/A alpha N/A status N/A test_good_and_interrupted N/A N/A self N/A N/A N/A N/A N/A self mock_time return_value 0 N/A event_stream N/A N/A dict msg N/A dict operation poll agent_id alpha reply N/A dict operation execute command RUN start_at N/A STEP 2 expected_duration STEP time 1 N/A dict msg N/A dict operation poll agent_id beta reply N/A dict operation execute command RUN start_at N/A STEP 2 expected_duration STEP time 2 N/A dict msg N/A dict operation reply agent_id beta reply N/A dict operation none time 20 N/A quorum N/A make_quorum N/A N/A self _message_queue_gen event_stream fail_at_end False N/A test_case N/A alpha beta N/A DummyExecutor N/A DummyExecutor N/A result N/A N/A quorum execute test_case N/A N/A N/A self assertEqual N/A N/A result keys N/A N/A test_case keys N/A N/A N/A self assertEqual interrupted N/A N/A result N/A alpha N/A status N/A N/A N/A self assertEqual ok N/A N/A result N/A beta N/A status N/A test_join_succeed N/A N/A self N/A N/A N/A N/A N/A self mock_time return_value 0 N/A event_stream N/A N/A dict msg N/A dict operation poll agent_id alpha reply N/A dict operation configure polling_interval STEP expected_duration 0 time STEP N/A dict msg N/A dict operation reply agent_id alpha reply N/A dict operation none time N/A STEP 2 N/A dict msg N/A dict operation poll agent_id N/A quorum_pkg HEARTBEAT_AGENT reply N/A dict operation none time N/A STEP 2 N/A quorum N/A make_quorum N/A N/A self _message_queue_gen event_stream N/A result N/A N/A quorum join N/A alpha N/A lost N/A agent_id N/A N/A agent_id r N/A N/A result items N/A N/A r N/A status lost N/A N/A N/A self assertEqual N/A lost N/A test_join_failed N/A N/A self N/A N/A N/A N/A N/A self mock_time return_value 0 N/A event_stream N/A N/A dict msg N/A dict operation poll agent_id _lost reply N/A dict operation configure polling_interval STEP expected_duration 0 time STEP N/A dict msg N/A dict operation reply agent_id N/A quorum_pkg HEARTBEAT_AGENT reply N/A dict operation none time N/A JOIN_TIMEOUT N/A STEP 2 N/A quorum N/A make_quorum N/A N/A self _message_queue_gen event_stream N/A result N/A N/A quorum join N/A _lost N/A lost N/A agent_id N/A N/A agent_id r N/A N/A result items N/A N/A r N/A status lost N/A N/A N/A self assertEqual N/A _lost lost N/A N/A