24b605e8ec48b9b67e507ca959eaed4ff4afc6a6,reframe/core/schedulers/slurm.py,SlurmJob,wait,#SlurmJob#,250

Before Change


            raise JobBlockedError(reason_msg, jobid=self._jobid)

    def wait(self):
        if self._jobid is None:
            raise JobError("cannot wait a non spawned job", jobid=None)

        // Quickly return in case we have finished already
        if self._state in self._completion_states:
            return

        intervals = itertools.cycle(settings.job_poll_intervals)

After Change


            raise JobBlockedError(reason_msg, jobid=self._jobid)

    def wait(self):
        super().wait()

        // Quickly return in case we have finished already
        if self._state in self._completion_states:
            return
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: eth-cscs/reframe
Commit Name: 24b605e8ec48b9b67e507ca959eaed4ff4afc6a6
Time: 2018-02-14
Author: karakasis@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJob
Method Name: wait


Project Name: eth-cscs/reframe
Commit Name: 24b605e8ec48b9b67e507ca959eaed4ff4afc6a6
Time: 2018-02-14
Author: karakasis@cscs.ch
File Name: reframe/core/schedulers/local.py
Class Name: LocalJob
Method Name: wait


Project Name: ray-project/ray
Commit Name: 7e63090ca989a4771c90d1b9afa201e30d4702a1
Time: 2021-03-20
Author: simon.mo@hey.com
File Name: python/ray/serve/router.py
Class Name: Router
Method Name: assign_request