aibou / specinfra

Command Execution Framework for serverspec/configspec and so on
http://serverspec.org/
MIT License
0 stars 0 forks source link

同名プロセスが複数立ち上がっている場合、process checkが通らない場合がある #1

Closed aibou closed 8 years ago

aibou commented 9 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が変わるとテスト結果が異なったり、または通るべきチェックが通らない場合が起こりうる。

aibou commented 8 years ago

もういいや