33 #include "rpc/it/ping_fop_xc.h" 39 #include "ut/cs_fop_xc.h" 43 #ifdef ENABLE_FAULT_INJECTION
static void test_m0_rpc_client_start(void)
static void test_rpclib_error_paths(void)
void m0_net_domain_fini(struct m0_net_domain *dom)
struct m0_ut_suite rpclib_ut
static void sctx_reset(void)
int m0_rpc_server_start(struct m0_rpc_server_ctx *sctx)
static int test_rpclib_fini(void)
static struct m0_rpc_client_ctx cctx
void * m0_fop_data(const struct m0_fop *fop)
static void test_m0_rpc_server_start(void)
const struct m0_rpc_item_ops cs_ds_req_fop_rpc_item_ops
int m0_rpc_client_stop(struct m0_rpc_client_ctx *cctx)
struct m0_net_xprt * m0_net_xprt_default_get(void)
int m0_rpc_client_start(struct m0_rpc_client_ctx *cctx)
struct m0_rpc_item * ri_reply
static struct m0_rpc_server_ctx sctx
static struct m0_net_domain client_net_dom
int m0_rpc_post_sync(struct m0_fop *fop, struct m0_rpc_session *session, const struct m0_rpc_item_ops *ri_ops, m0_time_t deadline)
static void server_fini(struct m0_stob_domain *bdom, uint64_t back_key)
struct m0_fop_type cs_ds2_req_fop_fopt
int m0_net_domain_init(struct m0_net_domain *dom, const struct m0_net_xprt *xprt)
struct m0_rpc_session rcx_session
struct m0_fop * m0_fop_alloc_at(struct m0_rpc_session *sess, struct m0_fop_type *fopt)
void m0_fop_put_lock(struct m0_fop *fop)
static struct m0_fop * fop
static int test_rpclib_init(void)
static void m0_fi_enable_once(const char *func, const char *tag)
void m0_rpc_server_stop(struct m0_rpc_server_ctx *sctx)
static void test_rpclib(void)
static int send_fop(struct m0_rpc_session *session)
struct m0_rpc_item f_item