当我试图更改超时时,会得到以下错误:
致命错误:调用/Users/.../automated-customer-tests/.../vendor/codeception/robo-paracept/src/MergeReports.php中的未定义方法Robofile::/Users/.../automated-customer-tests/.../vendor/codeception/robo-paracept/src/MergeReports.php:12中的任务()
脚本vendor/bin/robo parallel:all
处理错误代码255返回的并行事件
但是,如果由于继续超时而无法运行并行测试,则会出现以下错误:
Symfony\Component\Process\Exception\ProcessTimedOutException 处理“供应商/bin/robo并行:all”超过了300秒的超时时间。
发布于 2017-04-21 09:28:40
使用超时方法更改超时值:
class RoboFile extends \Robo\Tasks
{
function test()
{
$this->taskParallelExec()
->timeout(400)
->process('sleep 500')
->process('sleep 500')
->process('sleep 404')
->run();
}
}
https://stackoverflow.com/questions/43543884
复制