6bcb02bd3a0fa3d77061ae7b952488850753a10d,reframe/core/schedulers/slurm.py,SlurmJob,_get_default_partition,#SlurmJob#,164

Before Change


        partition_match = re.search(r"PartitionName=(?P<partition>\S+)\s+"
                                    r".*Default=YES.*", completed.stdout)
        if not partition_match:
            raise JobError("could not retrieve a default partition")

        return {partition_match.group("partition")}

    def get_partition_nodes(self):

After Change


        if partition_match:
            return partition_match.group("partition")

        return None

    def get_partition_nodes(self):
        nodes = self._get_all_nodes()
        return self.filter_nodes(nodes, self.sched_access)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: eth-cscs/reframe
Commit Name: 6bcb02bd3a0fa3d77061ae7b952488850753a10d
Time: 2019-02-13
Author: manitaras@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJob
Method Name: _get_default_partition


Project Name: eth-cscs/reframe
Commit Name: 46a7d71645a4e0c9308179dd0b706841cd323d2f
Time: 2019-11-25
Author: manitaras@cscs.ch
File Name: reframe/core/schedulers/__init__.py
Class Name: Job
Method Name: guess_num_tasks


Project Name: eth-cscs/reframe
Commit Name: 041941a148d89b2bb2cdfab7e6372022903cf11c
Time: 2019-03-12
Author: kraushaar@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJob
Method Name: _get_nodes_by_name


Project Name: eth-cscs/reframe
Commit Name: c323ba31063d782f2beaa4fb66a4943c19018936
Time: 2019-11-20
Author: manitaras@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJob
Method Name: get_all_nodes