]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: add missing includes 69007/head
authorMax Kellermann <max.kellermann@ionos.com>
Wed, 15 Apr 2026 12:38:57 +0000 (14:38 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Wed, 20 May 2026 02:53:03 +0000 (04:53 +0200)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
20 files changed:
src/test/client/TestClient.h
src/test/common/Throttle.cc
src/test/crimson/test_messenger_thrash.cc
src/test/crimson/test_socket.cc
src/test/crush/CrushWrapper.cc
src/test/librados_test_stub/LibradosTestStub.cc
src/test/librbd/journal/test_Entries.cc
src/test/librbd/journal/test_Replay.cc
src/test/librbd/mock/MockImageCtx.h
src/test/mon/test-mon-msg.cc
src/test/osd/ECPeeringTestFixture.cc
src/test/osd/MockPeeringListener.h
src/test/osd/PGBackendTestFixture.cc
src/test/osd/TestBackendBasics.cc
src/test/osd/TestOSDMap.cc
src/test/osd/TestPeeringState.cc
src/test/osdc/object_cacher_misc.cc
src/test/osdc/object_cacher_stress.cc
src/test/rbd_mirror/test_ImageDeleter.cc
src/test/rbd_mirror/test_ImageReplayer.cc

index 326478f3e5a9f910a7e9f24d931f4258026c4574..cc3a480b5f7aa1fb4b8dae02d45df2d8376b6598 100644 (file)
@@ -27,6 +27,7 @@
 #include "client/FSCrypt.h"
 #include "messages/MClientReclaim.h"
 #include "messages/MClientSession.h"
+#include "common/Cond.h"
 #include "common/async/blocked_completion.h"
 
 #include "fscrypt_conf.h"
index 1f3206439fa9990ee08befc971066abaf3ddc80e..ef42ce4078c2088728e04ae10085f8e11c635531 100644 (file)
@@ -34,6 +34,7 @@
 #include "common/Thread.h"
 #include "common/Throttle.h"
 #include "common/ceph_argparse.h"
+#include "global/global_context.h" // for g_ceph_context
 
 using namespace std;
 
index 6c0701bc31e83ad921fb9dc169efb464ff8b32cd..ebc4a383ab287646a6192ebe0aa6272849745b0f 100644 (file)
@@ -16,6 +16,7 @@
 #include "messages/MPing.h"
 #include "messages/MCommand.h"
 #include "crimson/auth/DummyAuth.h"
+#include "crimson/common/config_proxy.h" // for local_conf()
 #include "crimson/common/log.h"
 #include "crimson/net/Connection.h"
 #include "crimson/net/Dispatcher.h"
index 829192e8e5a1a205955304ac831b111ec7d7d491..ad5c71367567bebd912206aaf68d8e2e6e61e5b9 100644 (file)
@@ -11,6 +11,7 @@
 #include <seastar/core/when_all.hh>
 #include <seastar/util/later.hh>
 
+#include "crimson/common/config_proxy.h" // for local_conf()
 #include "crimson/common/log.h"
 #include "crimson/net/Errors.h"
 #include "crimson/net/Fwd.h"
index 91ef8ffacfec4441aabe27c81bc2138880972c09..0af50ee635242effdd45ce5cb3d31e997887c0c0 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "common/ceph_argparse.h"
 #include "common/common_init.h"
+#include "common/Formatter.h"
 #include "include/stringify.h"
 #include "include/Context.h"
 #include "osd/osd_types.h"
index af0c407cce97c11de31493af128f39410b9417d7..c375577422bec33cc9aa0bceaf345abf65cc6c96 100644 (file)
@@ -20,6 +20,7 @@
 #include "objclass/objclass.h"
 #include "osd/osd_types.h"
 #include <arpa/inet.h>
+#include <stdarg.h>
 #include <boost/shared_ptr.hpp>
 #include <deque>
 #include <functional>
index 6fb4d5185aa1d51eea6125ebbe7d1732c09f1e3f..929f9c83ae2e82315c251f09ab6e0131c897c775 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "test/librbd/test_fixture.h"
 #include "test/librbd/test_support.h"
+#include "common/Cond.h"
 #include "librbd/internal.h"
 #include "librbd/Journal.h"
 #include "librbd/api/Io.h"
index a2531c222fbfd5aec0cc3f8ebd94a7e9ef1a0616..47c8a01528719e30c513a7521793c18200671dd3 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "test/librbd/test_fixture.h"
 #include "test/librbd/test_support.h"
+#include "common/Cond.h"
 #include "cls/rbd/cls_rbd_types.h"
 #include "cls/journal/cls_journal_types.h"
 #include "cls/journal/cls_journal_client.h"
index bb8a28a5d5eec7c03c3f3422e6742a6a43a9e08f..a28503ae9bb02815e57896b155a2a563596da76f 100644 (file)
@@ -16,6 +16,7 @@
 #include "test/librbd/mock/MockReadahead.h"
 #include "test/librbd/mock/io/MockImageDispatcher.h"
 #include "test/librbd/mock/io/MockObjectDispatcher.h"
+#include "common/Cond.h"
 #include "common/WorkQueue.h"
 #include "common/zipkin_trace.h"
 #include "librbd/ImageCtx.h"
index 2f83bff2a628aaeddc31c61b9f487697ba2008a8..46a1ae70eeb464a10bdaa03d353265655512bcef 100644 (file)
@@ -39,6 +39,7 @@
 #include "common/config.h"
 #include "include/ceph_assert.h"
 
+#include "msg/Messenger.h"
 #include "messages/MMonProbe.h"
 #include "messages/MRoute.h"
 #include "messages/MGenericMessage.h"
index 550ccced2f7a54906f802bd6b4e1cee0b38867bd..56191d8b1ee166b193f25881f863d902b3ef1b6c 100644 (file)
@@ -16,6 +16,7 @@
 #include "test/osd/ECPeeringTestFixture.h"
 #include "test/osd/MockECRecPred.h"
 #include "test/osd/MockECReadPred.h"
+#include "crush/crush.h" // for CRUSH_ITEM_NONE
 
 // ShardDpp implementation
 std::ostream& ECPeeringTestFixture::ShardDpp::gen_prefix(std::ostream& out) const {
index 5ab119a83ad423b3dfe220ae8fb04ed8e19cbb36..3e80de3bc92da27a9be73b991926f3725690dc69 100644 (file)
 #include "MockMessenger.h"
 #include "global/global_context.h"
 
+#ifdef WITH_CRIMSON
+#include "crimson/common/perf_counters_collection.h"
+#else
+#include "common/perf_counters_collection.h"
+#endif
+
 // Forward declarations
 class EventLoop;
 class ECPeeringTestFixture;
index f677f8a01ea4aae4112bef1630eb923af0a64f16..dc7ee46c5677aad6b09b0b5543e42c5ad1a2d489 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "test/osd/PGBackendTestFixture.h"
 #include "common/errno.h"
+#include "crush/CrushWrapper.h"
 #include "messages/MOSDECSubOpWrite.h"
 #include "messages/MOSDECSubOpWriteReply.h"
 #include "messages/MOSDECSubOpRead.h"
index 5f70bc4a9c5f337dd93297703a07578e3f426e2c..b0acc48f19d35d1d5ca8e5f64cf588da081c1c7d 100644 (file)
@@ -41,6 +41,7 @@
 #include <gtest/gtest.h>
 #include "test/osd/PGBackendTestFixture.h"
 #include "test/osd/TestCommon.h"
+#include "crush/CrushWrapper.h"
 #include "messages/MOSDECSubOpWrite.h"
 
 using namespace std;
index a804bc99322eea3648f2fb8bbf95874cdd0e54fc..0c750c2a9abc15c167ffd337290bac43df4525f0 100644 (file)
@@ -10,6 +10,7 @@
 #include "common/common_init.h"
 #include "common/ceph_argparse.h"
 #include "common/ceph_json.h"
+#include "crush/CrushWrapper.h"
 #include "include/stringify.h"
 
 #include <iostream>
index 85c373ffca8545426321f46e05f408e77f727eb8..f77898f16a0bb410dba62a74956923325e066dbb 100644 (file)
@@ -35,7 +35,9 @@
 #include "test/osd/MockECRecPred.h"
 #include "test/osd/MockECReadPred.h"
 #include "test/osd/MockPeeringListener.h"
+#include "crush/CrushWrapper.h"
 #include "global/global_init.h"
+#include "log/Log.h"
 #include "messages/MOSDPeeringOp.h"
 #include "msg/Connection.h"
 #include "os/ObjectStore.h"
index 0ee408e5cf1d449a96feb0936bddbad6d6232ee4..bdd8668fac4ac9487ea366de388f2199e9d31c3e 100644 (file)
@@ -12,6 +12,7 @@
 #include "common/ceph_mutex.h"
 #include "common/Clock.h" // for ceph_clock_now()
 #include "common/common_init.h"
+#include "common/Cond.h"
 #include "common/config.h"
 #include "common/snap_types.h"
 #include "global/global_init.h"
index fc80ff0a4634b43892465baf6fd5a8c93c61b643..6aec3384e04aa157b1976cacb357e3ebedc72a22 100644 (file)
@@ -11,6 +11,7 @@
 #include "common/ceph_argparse.h"
 #include "common/ceph_mutex.h"
 #include "common/common_init.h"
+#include "common/Cond.h"
 #include "common/config.h"
 #include "common/snap_types.h"
 #include "global/global_init.h"
index b44adec2f4a29bf7b617463332d91227a0a1d366..d24fa8540cc83fc6cd8906b4b618e8d6908dcc7f 100644 (file)
@@ -12,6 +12,8 @@
  * Foundation.  See file COPYING.
  *
  */
+
+#include "common/Cond.h"
 #include "include/rados/librados.hpp"
 #include "include/rbd/librbd.hpp"
 #include "include/stringify.h"
index 2c1202a2e9caf8a9de39194c62343331e50c1195..c0c896ca2ab671256e6ded92bf5590aa2bf8e160 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #include "common/Clock.h" // for ceph_clock_now()
+#include "common/Cond.h"
 #include "include/rados/librados.hpp"
 #include "include/rbd/librbd.hpp"
 #include "include/stringify.h"