Skip to content

Commit

Permalink
Set expected concurrency count to 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
nzlosh committed Oct 24, 2023
1 parent 7625dc7 commit e856fc9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,9 @@ def test_basic_items_list_with_zero_concurrency(self):
- items: <% ctx(items) %>
"""

concurrency = 0
# Set the concurrency to 1 since concurrency 0 is expected to be
# overridden in the Orquesta concurrency scheduling code.
concurrency = 1

spec = native_specs.WorkflowSpec(wf_def)
self.assertDictEqual(spec.inspect(), {})
Expand Down Expand Up @@ -460,7 +462,6 @@ def test_basic_items_list_with_zero_concurrency(self):
# Assert the workflow succeeded.
self.assertEqual(conductor.get_workflow_status(), statuses.SUCCEEDED)


def test_multiple_items_list(self):
wf_def = """
version: 1.0
Expand Down

0 comments on commit e856fc9

Please sign in to comment.