Closed aibou closed 8 years ago
See also https://github.com/serverspec/specinfra/pull/108
例えばSpring Boot + Flumeが動いている場合、javaプロセスが2つ立ち上がることになるが、 現状のspecinfraではps aux | grep java | head -n 1という感じで1番目のプロセスしか取得しない。 そのためPIDが変わるとテスト結果が異なったり、または通るべきチェックが通らない場合が起こりうる。
ps aux | grep java | head -n 1
もういいや
See also https://github.com/serverspec/specinfra/pull/108
例えばSpring Boot + Flumeが動いている場合、javaプロセスが2つ立ち上がることになるが、 現状のspecinfraでは
ps aux | grep java | head -n 1
という感じで1番目のプロセスしか取得しない。 そのためPIDが変わるとテスト結果が異なったり、または通るべきチェックが通らない場合が起こりうる。