Clarify output of Hystrix test
This commit is contained in:
parent
601993fcb4
commit
faad1d92b0
|
@ -74,11 +74,11 @@ class HystrixTest extends AgentTestRunner {
|
|||
}
|
||||
|
||||
where:
|
||||
action | operation
|
||||
"execute" | { HystrixCommand cmd -> cmd.execute() }
|
||||
"queue" | { HystrixCommand cmd -> cmd.queue().get() }
|
||||
"observe" | { HystrixCommand cmd -> cmd.observe().toBlocking().first() }
|
||||
"observe" | { HystrixCommand cmd ->
|
||||
action | operation
|
||||
"execute" | { HystrixCommand cmd -> cmd.execute() }
|
||||
"queue" | { HystrixCommand cmd -> cmd.queue().get() }
|
||||
"observe" | { HystrixCommand cmd -> cmd.observe().toBlocking().first() }
|
||||
"observe block" | { HystrixCommand cmd ->
|
||||
BlockingQueue queue = new LinkedBlockingQueue()
|
||||
cmd.observe().subscribe { next ->
|
||||
queue.put(next)
|
||||
|
@ -147,11 +147,11 @@ class HystrixTest extends AgentTestRunner {
|
|||
}
|
||||
|
||||
where:
|
||||
action | operation
|
||||
"execute" | { HystrixCommand cmd -> cmd.execute() }
|
||||
"queue" | { HystrixCommand cmd -> cmd.queue().get() }
|
||||
"observe" | { HystrixCommand cmd -> cmd.observe().toBlocking().first() }
|
||||
"observe" | { HystrixCommand cmd ->
|
||||
action | operation
|
||||
"execute" | { HystrixCommand cmd -> cmd.execute() }
|
||||
"queue" | { HystrixCommand cmd -> cmd.queue().get() }
|
||||
"observe" | { HystrixCommand cmd -> cmd.observe().toBlocking().first() }
|
||||
"observe block" | { HystrixCommand cmd ->
|
||||
BlockingQueue queue = new LinkedBlockingQueue()
|
||||
cmd.observe().subscribe { next ->
|
||||
queue.put(next)
|
||||
|
|
Loading…
Reference in New Issue