Skip to content

Commit 201bc03

Browse files
committed
foo
1 parent 686445e commit 201bc03

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

parsl/executors/status_handling.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,14 @@ def tasks(self) -> Dict[object, Future]:
167167
def provider(self):
168168
return self._provider
169169

170-
def _filter_scale_in_ids(self, to_kill, killed):
170+
def _filter_scale_in_ids(self, to_kill: Sequence[Any], killed: Sequence[bool]) -> Sequence[Any]:
171171
""" Filter out job id's that were not killed
172172
"""
173173
assert len(to_kill) == len(killed)
174+
175+
if False in killed:
176+
logger.warning(f"Some jobs were not killed successfully: to_kill list is {to_kill}, killed list is {killed}")
177+
174178
# Filters first iterable by bool values in second
175179
return list(compress(to_kill, killed))
176180

0 commit comments

Comments
 (0)