Closed josh-berry closed 5 months ago
hm... I'm realizing this is incomplete; the terminate test also has the same problem. It's less obvious how to fix that one, though, because success is indistinguishable from failure; if the batch job is already completed, it can't be terminated. (I'm seeing both failures on my Windows box pretty reliably.)
I think this one can still be merged as-is, but someone (maybe/probably me) will need to do a follow-up PR for the terminate test.
This test occasionally fails because the batch job completes before the test has a chance to check its status. Allow for this case in the test.