sravani-revuri opened a new pull request, #11625: URL: https://github.com/apache/ozone/pull/11625
## What changes were proposed in this pull request? n nuMetadata.tsx, the quota response is checked with quotaResponse.state === 'INITIALIZING'. The /api/v1/namespace/quota endpoint returns status, not state, so the check never matches. As a result, the "quota is currently initializing" error is never shown, and the component treats the response as valid quota data. Fix: Change quotaResponse.state to quotaResponse.status, matching the summary check above it. Add a test assertion that showDataFetchError is called with the quota-initializing message when /namespace/quota returns INITIALIZING. found here: https://github.com/apache/ozone/pull/11513#discussion_r4269228317 ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-17074 ## How was this patch tested? Written test. -- 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]
