e2b12ca3cdb6cc4fa84b1ef6b311dc8385464d3e,unittests/test_policies.py,TestAsynchronousExecutionPolicy,test_concurrency_limited,#TestAsynchronousExecutionPolicy#,225
Before Change
def test_concurrency_limited(self):
// The number of checks must be <= 2*max_jobs.
checks = [
SleepCheck(0.5, system=self.system, resources=self.resources),
SleepCheck(0.5, system=self.system, resources=self.resources),
SleepCheck(0.5, system=self.system, resources=self.resources),
SleepCheck(0.5, system=self.system, resources=self.resources),
SleepCheck(0.5, system=self.system, resources=self.resources)
]
max_jobs = len(checks) - 2
self.set_max_jobs(max_jobs)
self.runner.runall(checks, self.system)
After Change
def test_concurrency_limited(self):
// The number of checks must be <= 2*max_jobs.
checks = [SleepCheck(0.5) for i in range(5) ]
max_jobs = len(checks) - 2
self.set_max_jobs(max_jobs)
self.runner.runall(checks)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 14
Instances Project Name: eth-cscs/reframe
Commit Name: e2b12ca3cdb6cc4fa84b1ef6b311dc8385464d3e
Time: 2018-04-22
Author: karakasis@cscs.ch
File Name: unittests/test_policies.py
Class Name: TestAsynchronousExecutionPolicy
Method Name: test_concurrency_limited
Project Name: eth-cscs/reframe
Commit Name: e2b12ca3cdb6cc4fa84b1ef6b311dc8385464d3e
Time: 2018-04-22
Author: karakasis@cscs.ch
File Name: unittests/test_policies.py
Class Name: TestAsynchronousExecutionPolicy
Method Name: test_concurrency_unlimited
Project Name: eth-cscs/reframe
Commit Name: e2b12ca3cdb6cc4fa84b1ef6b311dc8385464d3e
Time: 2018-04-22
Author: karakasis@cscs.ch
File Name: unittests/test_policies.py
Class Name: TestAsynchronousExecutionPolicy
Method Name: test_concurrency_none
Project Name: eth-cscs/reframe
Commit Name: e2b12ca3cdb6cc4fa84b1ef6b311dc8385464d3e
Time: 2018-04-22
Author: karakasis@cscs.ch
File Name: unittests/test_policies.py
Class Name: TestAsynchronousExecutionPolicy
Method Name: test_concurrency_limited