Closed mbruggmann closed 8 years ago
We used the ScheduledThreadPoolExecutor in the test before, which could fail the test for timing issues. Swap it for the deterministic scheduler instead, that'll give us predictable behavior and still verifies that the polling future is cancelled.
This should resolve #43
We used the ScheduledThreadPoolExecutor in the test before, which could fail the test for timing issues. Swap it for the deterministic scheduler instead, that'll give us predictable behavior and still verifies that the polling future is cancelled.
This should resolve #43