We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Swoole\Coroutine\Channel
Hyperf\Engine\Channel
1 parent 9d52cf5 commit 3571d3fCopy full SHA for 3571d3f
tests/RedisTest.php
@@ -15,6 +15,7 @@
15
use Hyperf\Context\Context;
16
use Hyperf\Contract\ConfigInterface;
17
use Hyperf\Di\Container;
18
+use Hyperf\Engine\Channel as Chan;
19
use Hyperf\Pool\Channel;
20
use Hyperf\Pool\Exception\ConnectionException;
21
use Hyperf\Pool\PoolOption;
@@ -78,7 +79,7 @@ public function testRedisSelect()
78
79
80
public function testHasAlreadyBeenBoundToAnotherCoroutine()
81
{
- $chan = new \Swoole\Coroutine\Channel(1);
82
+ $chan = new Chan(1);
83
$redis = $this->getRedis();
84
$ref = new \ReflectionClass($redis);
85
$method = $ref->getMethod('getConnection');
0 commit comments