mgodave / riemann-client

A Java client for Riemann
0 stars 1 forks source link

Test harness RiemannProcess should wait for riemann output indicating server started #13

Closed itaifrenkel closed 11 years ago

itaifrenkel commented 11 years ago

Need to monitor stdout of riemann for server start.

Since linux lingers with closed sockets, the current socket start detection provides false positives when in fact riemann server is not running.

This is required when need to isolate tests completely by restarting riemann .

itaifrenkel commented 11 years ago

Workaround: Sleep before establishing TCP connection at the begging of each test.