summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@vespa.ai>2024-04-09 15:26:13 +0000
committerTor Brede Vekterli <vekterli@vespa.ai>2024-04-09 15:26:13 +0000
commit9c99d7c58942bd3c035cfa3e0be4bffa515646e1 (patch)
tree5068fda3cb7f92ae55f76be3cc1e15dd829adc32
parent0533ce61bae90afc84798f8fecba24d5a5ccee20 (diff)
Ensure all async reply processing executor tasks have completed
-rw-r--r--storage/src/tests/persistence/filestorage/filestormanagertest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/src/tests/persistence/filestorage/filestormanagertest.cpp b/storage/src/tests/persistence/filestorage/filestormanagertest.cpp
index 3846d64d027..f12b85eb2ea 100644
--- a/storage/src/tests/persistence/filestorage/filestormanagertest.cpp
+++ b/storage/src/tests/persistence/filestorage/filestormanagertest.cpp
@@ -421,6 +421,7 @@ TEST_F(FileStorManagerTest, feed_op_batch_updates_bucket_db_and_reply_bucket_inf
auto pt = c.make_disk_thread();
c.filestorHandler->flush(true);
c.top.waitForMessages(n, _waitTime);
+ c.executor.sync_all(); // Ensure all async reply processing tasks must have completed.
api::BucketInfo expected_bucket_info;
{
StorBucketDatabase::WrappedEntry entry(_node->getStorageBucketDatabase().get(bucket_id, "foo"));