@@ -85,21 +85,17 @@ def receive_items(items, session, socket, n_item_to_recv):
85
85
with conn :
86
86
msg = socket_recv (conn )
87
87
test_info = pickle .loads (msg ) # the worker is supposed to have send a dict with the correct structured information
88
- if 'signal_info' in test_info :
89
- print ('signal_info= ' ,test_info ['signal_info' ])
90
- break
91
- else :
92
- test_idx = test_info ['test_idx' ]
93
- if test_info ['fatal_error' ] is not None :
94
- assert 0 , f'{ test_info ["fatal_error" ]} '
95
- item = items [test_idx ] # works because of precondition
96
- item .sub_comm = None
97
- item .info = test_info
98
-
99
- # "run" the test (i.e. trigger PyTest pipeline but do not really run the code)
100
- nextitem = None # not known at this point
101
- run_item_test (item , nextitem , session )
102
- n_item_to_recv -= 1
88
+ test_idx = test_info ['test_idx' ]
89
+ if test_info ['fatal_error' ] is not None :
90
+ assert 0 , f'{ test_info ["fatal_error" ]} '
91
+ item = items [test_idx ] # works because of precondition
92
+ item .sub_comm = None
93
+ item .info = test_info
94
+
95
+ # "run" the test (i.e. trigger PyTest pipeline but do not really run the code)
96
+ nextitem = None # not known at this point
97
+ run_item_test (item , nextitem , session )
98
+ n_item_to_recv -= 1
103
99
104
100
class ShellStaticScheduler :
105
101
def __init__ (self , main_invoke_params , ntasks , detach , use_srun ):
0 commit comments