Please review a change that fixes the intermittent failure of the test. The problem here that there is a chance that a single step event had been posted after the step request was created and before it was deleted.
The fix solves this by ensuring that vm.resume() is called at the end of the test. Webrev: http://cr.openjdk.java.net/~dtitov/8206074/webrev.01 Bug: https://bugs.openjdk.java.net/browse/JDK-8206074 Thanks! --Daniil