mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-30 02:37:58 +08:00
Delete sleep in test
This commit is contained in:
parent
cda7d9f9b0
commit
be1917ef08
@ -238,15 +238,15 @@ class DagTest extends TestCase
|
||||
{
|
||||
$key = 1;
|
||||
$dag = new \Hyperf\Dag\Dag();
|
||||
$a = \Hyperf\Dag\Vertex::make(function() {sleep(1); echo "A\n";}, (string) $key++);
|
||||
$b = \Hyperf\Dag\Vertex::make(function() {sleep(1); echo "B\n";}, (string) $key++);
|
||||
$c = \Hyperf\Dag\Vertex::make(function() {sleep(1); echo "C\n";}, (string) $key++);
|
||||
$d = \Hyperf\Dag\Vertex::make(function() {sleep(1); echo "D\n";}, (string) $key++);
|
||||
$e = \Hyperf\Dag\Vertex::make(function() {sleep(1); echo "E\n";}, (string) $key++);
|
||||
$f = \Hyperf\Dag\Vertex::make(function() {sleep(1); echo "F\n";}, (string) $key++);
|
||||
$g = \Hyperf\Dag\Vertex::make(function() {sleep(1); echo "G\n";}, (string) $key++);
|
||||
$h = \Hyperf\Dag\Vertex::make(function() {sleep(1); echo "H\n";}, (string) $key++);
|
||||
$i = \Hyperf\Dag\Vertex::make(function() {sleep(1); echo "I\n";}, (string) $key++);
|
||||
$a = \Hyperf\Dag\Vertex::make(function() {echo "A\n";}, (string) $key++);
|
||||
$b = \Hyperf\Dag\Vertex::make(function() {echo "B\n";}, (string) $key++);
|
||||
$c = \Hyperf\Dag\Vertex::make(function() {echo "C\n";}, (string) $key++);
|
||||
$d = \Hyperf\Dag\Vertex::make(function() {echo "D\n";}, (string) $key++);
|
||||
$e = \Hyperf\Dag\Vertex::make(function() {echo "E\n";}, (string) $key++);
|
||||
$f = \Hyperf\Dag\Vertex::make(function() {echo "F\n";}, (string) $key++);
|
||||
$g = \Hyperf\Dag\Vertex::make(function() {echo "G\n";}, (string) $key++);
|
||||
$h = \Hyperf\Dag\Vertex::make(function() {echo "H\n";}, (string) $key++);
|
||||
$i = \Hyperf\Dag\Vertex::make(function() {echo "I\n";}, (string) $key++);
|
||||
$dag->addVertex($a)
|
||||
->addVertex($b)
|
||||
->addVertex($c)
|
||||
|
Loading…
Reference in New Issue
Block a user