kaisun2000 commented on issue #1282:
URL: https://github.com/apache/helix/issues/1282#issuecomment-674477457


   Change to this should work.
   ```
       boolean result = TestHelper.verify(() -> {
         MaintenanceSignal ms = 
_dataAccessor.getProperty(_dataAccessor.keyBuilder().maintenance());
         return ms != null && ms.getReason() != null;
       }, TestHelper.WAIT_DURATION);
   ```
   
   Also fixed similar patter in 
TestClusterInMaintenanceModeWhenReachingOfflineInstancesLimit


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to