Unit testing a stream being retried
I’ve written a stream that calls the foobarMethod, potentially triggering the mono of a SocketTimeoutException. I want this method to retry 2 times. Manually, this code works but in the junit test I can’t get it to retry. Is this because of an environment issue with unit tests or have I dont the tests wrong? Any help gratefully received. Thanks.
Unit testing a stream being retried
I’ve written a stream that calls the foobarMethod, potentially triggering the mono of a SocketTimeoutException. I want this method to retry 2 times. Manually, this code works but in the junit test I can’t get it to retry. Is this because of an environment issue with unit tests or have I dont the tests wrong? Any help gratefully received. Thanks.