@@ -700,6 +700,7 @@ def execute_item(self, child_context, executable):
700700 sub_type_top = "TOP" ,
701701 sub_type_iteration = "ITER" ,
702702 name_prefix = "test_" ,
703+ serdes = None ,
703704 )
704705
705706 # Test basic properties
@@ -731,6 +732,7 @@ def execute_item(self, child_context, executable):
731732 sub_type_top = "TOP" ,
732733 sub_type_iteration = "ITER" ,
733734 name_prefix = "test_" ,
735+ serdes = None ,
734736 )
735737
736738 execution_state = Mock ()
@@ -791,6 +793,7 @@ def execute_item(self, child_context, executable):
791793 sub_type_top = "TOP" ,
792794 sub_type_iteration = "ITER" ,
793795 name_prefix = "test_" ,
796+ serdes = None ,
794797 )
795798
796799 exe_state = ExecutableWithState (executables [0 ])
@@ -827,6 +830,7 @@ def execute_item(self, child_context, executable):
827830 sub_type_top = "TOP" ,
828831 sub_type_iteration = "ITER" ,
829832 name_prefix = "test_" ,
833+ serdes = None ,
830834 )
831835
832836 exe_state = ExecutableWithState (executables [0 ])
@@ -861,6 +865,7 @@ def execute_item(self, child_context, executable):
861865 sub_type_top = "TOP" ,
862866 sub_type_iteration = "ITER" ,
863867 name_prefix = "test_" ,
868+ serdes = None ,
864869 )
865870
866871 exe_state = ExecutableWithState (executables [0 ])
@@ -905,6 +910,7 @@ def failure_callable():
905910 sub_type_top = "TOP" ,
906911 sub_type_iteration = "ITER" ,
907912 name_prefix = "test_" ,
913+ serdes = None ,
908914 )
909915
910916 execution_state = Mock ()
@@ -942,6 +948,7 @@ def execute_item(self, child_context, executable):
942948 sub_type_top = "TOP" ,
943949 sub_type_iteration = "ITER" ,
944950 name_prefix = "test_" ,
951+ serdes = None ,
945952 )
946953
947954 def mock_run_in_child_context (func , name , config ):
@@ -990,6 +997,7 @@ def failure_callable():
990997 sub_type_top = "TOP" ,
991998 sub_type_iteration = "ITER" ,
992999 name_prefix = "test_" ,
1000+ serdes = None ,
9931001 )
9941002
9951003 execution_state = Mock ()
@@ -1024,6 +1032,7 @@ def execute_item(self, child_context, executable):
10241032 sub_type_top = "TOP" ,
10251033 sub_type_iteration = "ITER" ,
10261034 name_prefix = "test_" ,
1035+ serdes = None ,
10271036 )
10281037
10291038 execution_state = Mock ()
@@ -1068,6 +1077,7 @@ def execute_item(self, child_context, executable):
10681077 sub_type_top = "TOP" ,
10691078 sub_type_iteration = "ITER" ,
10701079 name_prefix = "test_" ,
1080+ serdes = None ,
10711081 )
10721082
10731083 execution_state = Mock ()
@@ -1111,6 +1121,7 @@ def execute_item(self, child_context, executable):
11111121 sub_type_top = "TOP" ,
11121122 sub_type_iteration = "ITER" ,
11131123 name_prefix = "test_" ,
1124+ serdes = None ,
11141125 )
11151126
11161127 execution_state = Mock ()
@@ -1182,6 +1193,7 @@ def execute_item(self, child_context, executable):
11821193 sub_type_top = "TOP" ,
11831194 sub_type_iteration = "ITER" ,
11841195 name_prefix = "test_" ,
1196+ serdes = None ,
11851197 )
11861198
11871199 execution_state = Mock ()
@@ -1244,6 +1256,7 @@ def execute_item(self, child_context, executable):
12441256 sub_type_top = "TOP" ,
12451257 sub_type_iteration = "ITER" ,
12461258 name_prefix = "test_" ,
1259+ serdes = None ,
12471260 )
12481261
12491262 # Create executable with state in SUSPENDED_WITH_TIMEOUT
@@ -1281,6 +1294,7 @@ def execute_item(self, child_context, executable):
12811294 sub_type_top = "TOP" ,
12821295 sub_type_iteration = "ITER" ,
12831296 name_prefix = "test_" ,
1297+ serdes = None ,
12841298 )
12851299
12861300 # Create executable with state in SUSPENDED (indefinite)
@@ -1321,6 +1335,7 @@ def failure_callable():
13211335 sub_type_top = "TOP" ,
13221336 sub_type_iteration = "ITER" ,
13231337 name_prefix = "test_" ,
1338+ serdes = None ,
13241339 )
13251340
13261341 execution_state = Mock ()
@@ -1379,6 +1394,7 @@ def execute_item(self, child_context, executable):
13791394 sub_type_top = "TOP" ,
13801395 sub_type_iteration = "ITER" ,
13811396 name_prefix = "test_" ,
1397+ serdes = None ,
13821398 )
13831399
13841400 # Create one with timed suspend and one with indefinite suspend
@@ -1419,6 +1435,7 @@ def execute_item(self, child_context, executable):
14191435 sub_type_top = "TOP" ,
14201436 sub_type_iteration = "ITER" ,
14211437 name_prefix = "test_" ,
1438+ serdes = None ,
14221439 )
14231440
14241441 # Create two with different timed suspends
@@ -1487,7 +1504,15 @@ def execute_item(self, child_context, executable):
14871504 tolerated_failure_percentage = None ,
14881505 )
14891506
1490- executor = TestExecutor (executables , 3 , completion_config , "TOP" , "ITER" , "test_" )
1507+ executor = TestExecutor (
1508+ executables = executables ,
1509+ max_concurrency = 3 ,
1510+ completion_config = completion_config ,
1511+ sub_type_top = "TOP" ,
1512+ sub_type_iteration = "ITER" ,
1513+ name_prefix = "test_" ,
1514+ serdes = None ,
1515+ )
14911516
14921517 # Create three executables with different suspend times
14931518 exe_state1 = ExecutableWithState (executables [0 ])
@@ -1527,7 +1552,15 @@ def failure_callable():
15271552 min_successful = 1 , tolerated_failure_count = 0 , tolerated_failure_percentage = None
15281553 )
15291554
1530- executor = TestExecutor (executables , 1 , completion_config , "TOP" , "ITER" , "test_" )
1555+ executor = TestExecutor (
1556+ executables = executables ,
1557+ max_concurrency = 1 ,
1558+ completion_config = completion_config ,
1559+ sub_type_top = "TOP" ,
1560+ sub_type_iteration = "ITER" ,
1561+ name_prefix = "test_" ,
1562+ serdes = None ,
1563+ )
15311564
15321565 execution_state = Mock ()
15331566 execution_state .create_checkpoint = Mock ()
@@ -1580,7 +1613,15 @@ def success_callable():
15801613 tolerated_failure_percentage = None ,
15811614 )
15821615
1583- executor = TestExecutor (executables , 1 , completion_config , "TOP" , "ITER" , "test_" )
1616+ executor = TestExecutor (
1617+ executables = executables ,
1618+ max_concurrency = 1 ,
1619+ completion_config = completion_config ,
1620+ sub_type_top = "TOP" ,
1621+ sub_type_iteration = "ITER" ,
1622+ name_prefix = "test_" ,
1623+ serdes = None ,
1624+ )
15841625
15851626 execution_state = Mock ()
15861627 execution_state .create_checkpoint = Mock ()
@@ -1613,7 +1654,15 @@ def suspend_callable():
16131654 tolerated_failure_percentage = None ,
16141655 )
16151656
1616- executor = TestExecutor (executables , 1 , completion_config , "TOP" , "ITER" , "test_" )
1657+ executor = TestExecutor (
1658+ executables = executables ,
1659+ max_concurrency = 1 ,
1660+ completion_config = completion_config ,
1661+ sub_type_top = "TOP" ,
1662+ sub_type_iteration = "ITER" ,
1663+ name_prefix = "test_" ,
1664+ serdes = None ,
1665+ )
16171666
16181667 execution_state = Mock ()
16191668 execution_state .create_checkpoint = Mock ()
0 commit comments