From 6701bb00213db07437e8e456bc0a45168bce8356 Mon Sep 17 00:00:00 2001 From: Casey Jao Date: Wed, 1 Nov 2023 18:51:20 -0400 Subject: [PATCH] Tests: force task packing for ft --- tests/functional_tests/workflow_stack_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/functional_tests/workflow_stack_test.py b/tests/functional_tests/workflow_stack_test.py index 8d2a8f90e..0ab6693b1 100644 --- a/tests/functional_tests/workflow_stack_test.py +++ b/tests/functional_tests/workflow_stack_test.py @@ -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],