24b605e8ec48b9b67e507ca959eaed4ff4afc6a6,reframe/core/schedulers/slurm.py,SlurmJob,cancel,#SlurmJob#,264

Before Change


            self._update_state()

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

        getlogger().debug("cancelling job (id=%s)" % self._jobid)
        self._run_command("scancel %s" % self._jobid,
                          settings.job_submit_timeout)
        self._is_cancelling = True

After Change


            self._update_state()

    def cancel(self):
        super().cancel()
        getlogger().debug("cancelling job (id=%s)" % self._jobid)
        self._run_command("scancel %s" % self._jobid,
                          settings.job_submit_timeout)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

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: cancel


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: 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: cancel


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