浏览代码

Show Workerman info in tests

Joanhey 2 年之前
父节点
当前提交
0d011e3b1a
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      tests/Feature/HttpConnectionTest.php
  2. 1 0
      tests/Feature/UdpConnectionTest.php

+ 1 - 0
tests/Feature/HttpConnectionTest.php

@@ -14,6 +14,7 @@ beforeAll(function () use (&$process) {
 });
 
 afterAll(function () use (&$process) {
+    echo $process->getOutput();
     $process->stop();
 });
 

+ 1 - 0
tests/Feature/UdpConnectionTest.php

@@ -27,6 +27,7 @@ beforeAll(function () use ($serverAddress, &$process) {
 });
 
 afterAll(function () use (&$process) {
+    echo "\nUDP Test:\n", $process->getOutput();
     $process->stop();
 });