diff --git a/reframe/core/schedulers/slurm.py b/reframe/core/schedulers/slurm.py index 5e8aaca88e..bd019c9df3 100644 --- a/reframe/core/schedulers/slurm.py +++ b/reframe/core/schedulers/slurm.py @@ -551,6 +551,10 @@ class SqueueJobScheduler(SlurmJobScheduler): SQUEUE_DELAY = 2 def poll(self, *jobs): + if jobs: + # Filter out non-jobs + jobs = [job for job in jobs if job is not None] + if not jobs: return