message: Improve send_yield test
diff: @@ -6,19 +6,20 @@ swoole_http_server: http chunk with send yield
  <?php
  require __DIR__ . '/../include/bootstrap.php';
  const ONE_MEGABYTES = 1024 * 1024;
  +foreach ([SWOOLE_BASE, SWOOLE_PROCESS] as $mode) {
  $pm = new ProcessManager;
  $pm->initRandomData(1, 64 * ONE_MEGABYTES);
  $pm->parentFunc = function ($pid) use ($pm) {
  - go(function () use ($pm) {
  + Swoole\Coroutine\run(function () use ($pm) {
  $data = httpGetBody("http://127.0.0.1:{$pm->getFreePort()}/");
  Assert::assert($data === $pm->getRandomData());
  phpt_var_dump(strlen($data));
  + });
  $pm->kill();
  echo "DONE\n";
  - });
  };
  -$pm->childFunc = function () use ($pm) {
  - $http = new Swoole\Http\Server('127.0.0.1', $pm->getFreePort(), SWOOLE_PROCESS);
  + $pm->childFunc = function () use ($pm, $mode) {
  + $http = new Swoole\Http\Server('127.0.0.1', $pm->getFreePort(), $mode);
  $http->set([
  'log_file' => '/dev/null',
  'send_yield' => true
  @@ -41,6 +42,8 @@ $pm->childFunc = function () use ($pm) {
  };
  $pm->childFirst();
  $pm->run();
  +}
  ?>
  --EXPECT--
  DONE
  +DONE
  