michaeljmarshall opened a new pull request, #19447: URL: https://github.com/apache/pulsar/pull/19447
### Motivation We have several `Thread.sleep` calls in the `ServerCnxTest` class. Some of them are pretty trivial to remove, and speed the tests up by about 9 seconds when I run on them on my laptop. ### Modifications * Replace `Thread.sleep(1000)` with `channel.advanceTimeBy(1, TimeUnit.SECONDS);` ### Verifying this change This is a change to tests. The tests pass. ### Documentation - [x] `doc-not-needed` ### Matching PR in forked repository PR in forked repository: Skipping because this is a test PR and all modified tests pass on my laptop. -- 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]
