#include <unistd.h>
#include "reqh/reqh_service_internal.h"
#include "rpc/rpclib.h"
#include "ut/misc.h"
#include "ut/ut.h"
Go to the source code of this file.
◆ SERVER_LOG_FILE_NAME
#define SERVER_LOG_FILE_NAME "reqh_service_ctx.log" |
◆ reqh_service_ctx_ut__find()
◆ reqh_service_ctx_ut__find_remote()
◆ reqh_service_ctx_ut__remote_rmach_fini()
static void reqh_service_ctx_ut__remote_rmach_fini |
( |
void |
| ) |
|
|
static |
◆ reqh_service_ctx_ut__remote_rmach_init()
static int reqh_service_ctx_ut__remote_rmach_init |
( |
void |
| ) |
|
|
static |
◆ reqh_service_ctx_ut__wait_all_online()
static void reqh_service_ctx_ut__wait_all_online |
( |
void |
| ) |
|
|
static |
◆ reqh_service_ctx_ut__wait_online()
◆ reqh_service_ctx_ut_test_helper()
static void reqh_service_ctx_ut_test_helper |
( |
char * |
ut_argv[], |
|
|
int |
ut_argc, |
|
|
void(*)(void) |
ut_body |
|
) |
| |
|
static |
◆ test_dead_end_connect()
static void test_dead_end_connect |
( |
void |
| ) |
|
|
static |
◆ test_dead_end_disconnect()
static void test_dead_end_disconnect |
( |
void |
| ) |
|
|
static |
◆ ut_dead_end__cb()
static bool ut_dead_end__cb |
( |
struct m0_clink * |
clink | ) |
|
|
static |
◆ ut_dead_end__connecting()
static void ut_dead_end__connecting |
( |
void |
| ) |
|
|
static |
◆ ut_dead_end__disconnected()
static void ut_dead_end__disconnected |
( |
void |
| ) |
|
|
static |
◆ ut_dead_end__disconnecting()
static void ut_dead_end__disconnecting |
( |
void |
| ) |
|
|
static |
◆ g_sem
◆ reqh_service_ctx_ut
Initial value:= {
.ts_name = "reqh-service-ctx-ut",
.ts_tests = {
},
.ts_owners = "Igor Vartanov",
}
static void test_dead_end_connect(void)
static void test_dead_end_disconnect(void)
Definition at line 233 of file service_ctx.c.
◆ sargs
Initial value:= {"m0d", "-T", "linux",
"-D", "cs_sdb", "-S", "cs_stob",
"-A", "linuxstob:cs_addb_stob",
"-H", "0@lo:12345:34:1",
"-w", "10",
}
#define M0_SRC_PATH(name)
#define M0_NET_XPRT_PREFIX_DEFAULT
Definition at line 37 of file service_ctx.c.
◆ ut_buf_pool
◆ ut_client_net_dom
◆ ut_ep_addr_remote
const char* ut_ep_addr_remote = "0@lo:12345:34:999" |
|
static |
◆ ut_reqh
◆ ut_rmach
◆ ut_sctx