8c982a520d6ed705f62ccc1473657f82ff7e7231,test/test_remote.py,TestRemote,testMaxProcs,#TestRemote#,305

Before Change


    @unittest.skipIf(not has_docker, "Docker container not usable")
    def testMaxProcs(self):
        """Test server restriction max_procs"""
        script = SoS_Script("""
[10]
task: procs=8
print("a")
""".format(os.path.join(os.path.abspath(".").upper(), "test_remote.py")))
        wf = script.workflow()
        self.assertRaises(Exception, Base_Executor(wf, config={
                "config_file": "docker.yml",
                // do not wait for jobs

After Change


    @unittest.skipIf(not has_docker, "Docker container not usable")
    def testMaxProcs(self):
        """Test server restriction max_procs"""
        script = SoS_Script("""
[10]
task: procs=8
print("a")
""")
        wf = script.workflow()
        self.assertRaises(Exception, Base_Executor(wf, config={
                "config_file": "docker.yml",
                // do not wait for jobs
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 11

Instances


Project Name: vatlab/SoS
Commit Name: 8c982a520d6ed705f62ccc1473657f82ff7e7231
Time: 2017-06-18
Author: ben.bog@gmail.com
File Name: test/test_remote.py
Class Name: TestRemote
Method Name: testMaxProcs


Project Name: vatlab/SoS
Commit Name: 8c982a520d6ed705f62ccc1473657f82ff7e7231
Time: 2017-06-18
Author: ben.bog@gmail.com
File Name: test/test_remote.py
Class Name: TestRemote
Method Name: testRuntimeMaxWalltime


Project Name: vatlab/SoS
Commit Name: 8c982a520d6ed705f62ccc1473657f82ff7e7231
Time: 2017-06-18
Author: ben.bog@gmail.com
File Name: test/test_remote.py
Class Name: TestRemote
Method Name: testMaxMem


Project Name: vatlab/SoS
Commit Name: 8c982a520d6ed705f62ccc1473657f82ff7e7231
Time: 2017-06-18
Author: ben.bog@gmail.com
File Name: test/test_remote.py
Class Name: TestRemote
Method Name: testMaxWalltime