mistral/mistral/tests/unit/engine
Renat Akhmerov 1a4c599a4d Improve join by removing periodic jobs
* This patch removes the approach with DB polling needed to
  determine if a "join" task is ready to run. Instead of running
  a periodic scheduled job, each task completion now runs the
  algorithm that finds all potentially affected join tasks
  and schedules just one job (instead of a periodic job) to check
  their readiness.
  This solves a problem of system cascaded overloading in case of
  having many very large joins (when a workflow has many joins with
  many  dependencies each). Previously, in such case Mistral created
  too many periodic jobs that just didn't let the workflow progress
  well, i.e. most CPU was used by scheduler to run those periodic
  jobs that very rarely switched "join" tasks to the RUNNING state.

Change-Id: I5ebc44c7a3f95c868d653689dc5cea689c788cd0
Closes-Bug: #1799356
2018-10-23 14:01:39 +07:00
..
__init__.py Renaming "engine1" to "engine" 2015-04-09 17:47:36 +06:00
base.py Improve join by removing periodic jobs 2018-10-23 14:01:39 +07:00
test_action_context.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_action_defaults.py Get rid of a extra copy of workflow environment 2018-04-27 19:47:32 +07:00
test_adhoc_actions.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_commands.py Fix 'pause' engine command 2018-03-24 11:10:08 +00:00
test_cron_trigger.py Fix flaky cron trigger test 2018-07-30 14:03:09 +02:00
test_dataflow.py Consider size of output_on_error 2018-02-08 05:55:29 +00:00
test_default_engine.py A mechanism to close stuck running action executions 2018-06-12 14:15:15 +00:00
test_direct_workflow.py Fix how Mistral calculates workflow output 2018-09-12 16:48:43 +07:00
test_direct_workflow_rerun.py An execution hangs in the RUNNING state after rerun 2018-10-14 10:29:16 +00:00
test_direct_workflow_rerun_cancelled.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_direct_workflow_with_cycles.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_environment.py Do not copy workflow environment into subworkflows 2018-04-27 20:08:56 +07:00
test_error_handling.py Remove a redundant initializer of InvalidUnicodeAction in the tests 2018-03-14 15:16:24 +07:00
test_error_result.py Return the result of the MistralHTTPAction 2018-07-16 11:43:26 +01:00
test_execution_fields_size_limitation.py Fixed workflow output in case of execution_field_size_limit_kb 2018-05-02 12:12:14 +04:00
test_execution_params.py Fix WF execution getting stuck on null description 2018-04-02 15:00:36 +05:30
test_integrity_check.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_javascript_action.py Added JavaScript evaluator which doesn't require a compilation 2018-04-23 17:04:18 +00:00
test_join.py Improve join by removing periodic jobs 2018-10-23 14:01:39 +07:00
test_lookup_utils.py Use mock to patch lookup_utils._ACTION_DEF_CACHE 2018-08-22 13:22:20 +01:00
test_noop_task.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_policies.py Get rid of a extra copy of workflow environment 2018-04-27 19:47:32 +07:00
test_profiler.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_race_condition.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_reverse_workflow.py Get rid of a extra copy of workflow environment 2018-04-27 19:47:32 +07:00
test_reverse_workflow_rerun.py Get rid of a extra copy of workflow environment 2018-04-27 19:47:32 +07:00
test_reverse_workflow_rerun_cancelled.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_run_action.py Propagated a task timeout to a action execution 2018-01-31 17:40:52 +04:00
test_safe_rerun.py Added 'safe-rerun' policy to task-defaults section 2018-04-23 20:46:43 +04:00
test_set_state.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_state_info.py Fix malformed state_info when json is set to it 2018-04-09 18:24:21 +05:30
test_subworkflows.py Use "passive_deletes=True" in ORM relationships 2018-05-15 16:04:02 +07:00
test_subworkflows_pause_resume.py Improve join by removing periodic jobs 2018-10-23 14:01:39 +07:00
test_task_cancel.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_task_defaults.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_task_pause_resume.py Cascade pause and resume to and from subworkflows 2017-08-07 20:40:15 +00:00
test_task_publish.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_tasks_function.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_with_items.py A mechanism to close stuck running action executions 2018-06-12 14:15:15 +00:00
test_with_items_task.py Get rid of with_items.py module in favor of WithItemsTask class 2016-12-20 16:31:29 +07:00
test_workflow_cancel.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_workflow_resume.py Get rid of a extra copy of workflow environment 2018-04-27 19:47:32 +07:00
test_workflow_stop.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_workflow_variables.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00
test_yaql_functions.py Add YAQL engine options 2018-06-01 17:06:57 +07:00