1
0
mirror of https://github.com/danog/file.git synced 2025-01-22 21:31:15 +01:00
file/test/ParallelHandleTest.php
2019-08-23 13:59:26 -05:00

27 lines
499 B
PHP

<?php
namespace Amp\File\Test;
use Amp\File;
use Amp\Parallel\Worker\DefaultPool;
use Amp\Parallel\Worker\Pool;
class ParallelHandleTest extends AsyncHandleTest
{
/** @var Pool */
private $pool;
protected function setUp(): void
{
parent::setUp();
$this->pool = new DefaultPool;
File\filesystem(new File\ParallelDriver($this->pool));
}
protected function tearDown(): void
{
parent::tearDown();
$this->pool->shutdown();
}
}