BUG-8618: fix test driver 37/60137/8
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 10 Jul 2017 14:08:57 +0000 (16:08 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 15 Jul 2017 01:35:30 +0000 (03:35 +0200)
Since the test can produce bursts of completions, which in turn can
get slowed down by writout of new messages, offload future completion
to the executor we have internally. This in turn simplifies things,
as we can rely on state being manipulated (mostly) from a single thread.

Also change ArrayDeque to a HashSet to ensure removal of tasks completes
quickly even in face of misordered responses.

Change-Id: Ia5341633af2dbe3e26e7208436405daf7632a876
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>

No differences found