Skip to content

Commit

Permalink
Tests: force task packing for ft
Browse files Browse the repository at this point in the history
  • Loading branch information
cjao committed Nov 1, 2023
1 parent a67e38e commit 6701bb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/functional_tests/workflow_stack_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ def workflow():
b_list = [identity(a=i) for i in range(5, 10)]
return collect(l_electrons=[a_list, b_list])

# Temporarily force task packing for this test
old_task_packing = ct.get_config("sdk.task_packing")
ct.set_config("sdk.task_packing", "true")
dispatch_id = ct.dispatch(workflow)()
ct.set_config("sdk.task_packing", old_task_packing)

assert rm.get_result(dispatch_id, wait=True).result == [
[0, 1, 2, 3, 4],
Expand Down

0 comments on commit 6701bb0

Please sign in to comment.