adoroszlai opened a new pull request, #5977:
URL: https://github.com/apache/ozone/pull/5977
## What changes were proposed in this pull request?
Awaitility (third-party library) is used 7 times in 4 test classes.
Alternatives:
* `GenericTestUtils.waitFor`, used by 268 callers.
* `LambdaTestUtils.await`, used by 19 callers.
* `JavaUtils.attempt` (prod. utility in Ratis)
This PR replaces most `Awaitility.await` calls with `LambdaTestUtils.await`,
and one with `attempt` (where a void assertion is used).
We can then remove this dependency (and need to add `hamcrest`, which is
also required by other tests, and was a transitive dependency of Awaitility).
https://issues.apache.org/jira/browse/HDDS-10102
## How was this patch tested?
CI:
https://github.com/adoroszlai/ozone/actions/runs/7478683757
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]