XComp commented on PR #21751:
URL: https://github.com/apache/flink/pull/21751#issuecomment-1402104138
What speaks against replacing the `Thread.sleep(10L)` with a waiting
condition in the test?
```
CommonTestUtils.waitUtil(
() -> upTimeGauge.getValue() > 0L,
TestingUtils.infiniteDuration(),
"No non-zero uptime was measured.");
```
--
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]