sarvekshayr opened a new pull request, #8682:
URL: https://github.com/apache/ozone/pull/8682
## What changes were proposed in this pull request?
```
org.apache.ozone.test.NonHATests$ReconfigShell.testDirectoryDeletingServiceIntervalReconfiguration
-- Time elapsed: 0.138 s <<< FAILURE!
java.lang.AssertionError:
Expecting actual:
"OM: Started reconfiguration task on node [localhost:15006].
OM: Reconfiguring status for node [localhost:15006]: started at Fri Jun 20
06:16:46 UTC 2025 and is still running.
"
to contain:
"SUCCESS: Changed property ozone.directory.deleting.service.interval"
at
org.apache.hadoop.ozone.shell.TestReconfigShell.testDirectoryDeletingServiceIntervalReconfiguration(TestReconfigShell.java:111)
```
The test failure occurs because the assertion is executed before the
reconfiguration status has completed. As a result, the expected success message
("SUCCESS: Changed property ozone.directory.deleting.service.interval") is not
yet present in the status command output.
To fix this, we now wait for the reconfiguration status to complete before
asserting the status command output.
## What is the link to the Apache JIRA
[HDDS-13306](https://issues.apache.org/jira/browse/HDDS-13306)
## How was this patch tested?
CI: https://github.com/sarvekshayr/ozone/actions/runs/15828149542
flaky-test-check:
https://github.com/sarvekshayr/ozone/actions/runs/15829604475/job/44618830714
(failures in the test are not related to ReconfigShell)
--
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]