Fix Hysrix test to not poll queue and return null
Instead wait for value to appear
@@ -86,7 +86,7 @@ class HystrixTest extends AgentTestRunner {
cmd.observe().subscribe { next ->
queue.put(next)
}
- queue.poll()
+ queue.take()
}
}
