]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/librados/tier_cxx.cc
import ceph quincy 17.2.4
[ceph.git] / ceph / src / test / librados / tier_cxx.cc
index f34accf8f1340612db5e5ca7c176356c5ae509e9..e8f345bd5adc93587c933cd67823fded55304ad8 100644 (file)
@@ -5678,6 +5678,9 @@ TEST_F(LibRadosTwoPoolsPP, TierFlushDuringFlush) {
   // delete temp pool, so flushing chunk will fail
   ASSERT_EQ(0, s_cluster.pool_delete(temp_pool_name.c_str()));
 
+  // wait for maps to settle
+  cluster.wait_for_latest_osdmap();
+
   // flush to check if proper error is returned
   {
     ObjectReadOperation op;