You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling LoadGenerator.interrupt() does interrupt the load generation, but it may return a CompletableFuture that is not exceptionally completed due to the interruption.
This is because the requests sent prior the interruption may be already completed, so CompletableFuture.anyOf(allResults, anyFailure) may return the succeeded allResults rather than the failed anyFailure.
A more robust way to complete the CompletableFuture returned from process() is necessary.
The text was updated successfully, but these errors were encountered:
Calling
LoadGenerator.interrupt()
does interrupt the load generation, but it may return aCompletableFuture
that is not exceptionally completed due to the interruption.This is because the requests sent prior the interruption may be already completed, so
CompletableFuture.anyOf(allResults, anyFailure)
may return the succeededallResults
rather than the failedanyFailure
.A more robust way to complete the
CompletableFuture
returned fromprocess()
is necessary.The text was updated successfully, but these errors were encountered: