nielm commented on PR #22023: URL: https://github.com/apache/beam/pull/22023#issuecomment-1165658575
> This approach works too, though I'd go the extra step and "invert" the test---method per error type and then testing the responses from single and batched writes via a helper method rather than special casing the error type in the loop I was also half-way through a PR for this. In my solution I was just going to switch from numSleeps, numWrites parameters to a "hasRetries" parameter, then then if there are retries assert that numSleeps >= 8 and numWrites >= 9 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
