]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
The wait_for_recovery_toofull function was referencing an undefined
authorfxtack <fxtack@foxmail.com>
Thu, 25 Dec 2025 05:17:19 +0000 (13:17 +0800)
committerfxtack <fxtack@foxmail.com>
Thu, 25 Dec 2025 05:17:19 +0000 (13:17 +0800)
commite8cbb658a5a22b70cc0ba89e35de013494898672
treec92cf9864f0e5d1c5412e154b1dc7dfe104ad156
parent8570a1c2278b508013f86438ba462a690c3530d8
The wait_for_recovery_toofull function was referencing an undefined
variable '$ret' instead of the correct '$?' to check the exit status
of the wait_for_state function call.

This fix ensures the function properly checks the return value and
handles recovery timeout scenarios correctly in the OSD recovery
space test.

Fixes: undefined variable reference in test script
Signed-off-by: fxtack <fxtack@foxmail.com>
qa/standalone/osd/osd-recovery-space.sh