Compare commits

..

4 Commits

Author SHA1 Message Date
Anatol Belski
08b81a4ffc Prepare 2.1.5 2018-05-09 11:23:07 +02:00
Anatol Belski
569072060e Change the max runs values for perhaps colliding training scenarios 2018-05-04 14:46:42 +02:00
Anatol Belski
b13a2df162 Improve error handling for dependency path 2018-05-04 11:11:15 +02:00
Anatol Belski
96fa91e16a Back to dev 2018-05-02 14:16:19 +02:00
4 changed files with 8 additions and 4 deletions

View File

@@ -1 +1 @@
2.1.4
2.1.5

View File

@@ -130,7 +130,11 @@ class Config
{/*{{{*/
if (empty(self::$knownBranches)) {
$cache_file = "known_branches.txt";
$cache = new Cache(self::getDepsLocalPath());
$deps_path = self::getDepsLocalPath();
if (!$deps_path) {
throw new Exception("Couldn't determine dependencies path. Please either switch to the PHP source root or use -d option.");
}
$cache = new Cache($deps_path);
$fetcher = new Fetcher(self::$depsHost, self::$depsPort, self::$depsUriScheme);
$tmp = $fetcher->getByUri(self::$depsBaseUri . "/series/");

View File

@@ -16,7 +16,7 @@ class TrainingCaseHandler extends Abstracts\TrainingCase implements Interfaces\T
protected $nginx;
protected $maria;
protected $php;
protected $max_runs = 8;
protected $max_runs = 12;
public function __construct(Config $conf, ?Interfaces\Server $nginx, ?Interfaces\Server\DB $maria)
{

View File

@@ -16,7 +16,7 @@ class TrainingCaseHandler extends Abstracts\TrainingCase implements Interfaces\T
protected $nginx;
protected $maria;
protected $php;
protected $max_runs = 4;
protected $max_runs = 1;
public function __construct(Config $conf, ?Interfaces\Server $nginx, ?Interfaces\Server\DB $srv_db)
{