mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch (#10632)
* Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch, fixes #10568 * Allow ProcessExecutorMock to function with async calls
This commit is contained in:
parent
ca3b874414
commit
b0665981c2
6 changed files with 69 additions and 18 deletions
|
@ -320,7 +320,7 @@ class GitHubDriverTest extends TestCase
|
|||
->setConstructorArgs(array($io, $this->config))
|
||||
->getMock();
|
||||
|
||||
$gitHubDriver = new GitHubDriver($repoConfig, $io, $this->config, $httpDownloader, new ProcessExecutorMock);
|
||||
$gitHubDriver = new GitHubDriver($repoConfig, $io, $this->config, $httpDownloader, $this->getProcessExecutorMock());
|
||||
$gitHubDriver->initialize();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue