]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/mds: don't drop await_idle_v under NDEBUG 69157/head
authorSun Yuechi <sunyuechi@iscas.ac.cn>
Fri, 29 May 2026 08:15:27 +0000 (16:15 +0800)
committerSun Yuechi <sunyuechi@iscas.ac.cn>
Fri, 29 May 2026 08:24:39 +0000 (16:24 +0800)
commit5a83c603876ad5b1fd8bd71044b624e9819a7832
tree0835db25c11c0876bc39e5281bdf0abb5854808e
parentce220cc902e91fe203513e7beac7982e2c2538d4
test/mds: don't drop await_idle_v under NDEBUG

await_idle_v() is wrapped in assert(), so with NDEBUG it is never
called and the test reads a default-constructed ack, racing the agent
thread. Use EXPECT_TRUE() like the rest of the file.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
src/test/mds/TestQuiesceAgent.cc