#include "lib/trace.h"
#include "motr/client.h"
#include "motr/st/st.h"
#include "motr/st/st_misc.h"
#include "motr/st/st_assert.h"
#include "lib/memory.h"
#include "lib/types.h"
#include "lib/errno.h"
#include "lib/finject.h"
#include <stdlib.h>
#include <unistd.h>
Go to the source code of this file.
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CLIENT |
Definition at line 29 of file obj.c.
◆ mock_op_cb_failed()
static void mock_op_cb_failed |
( |
struct m0_op * |
op | ) |
|
|
static |
◆ mock_op_cb_stable()
static void mock_op_cb_stable |
( |
struct m0_op * |
op | ) |
|
|
static |
◆ obj_create_error_handling()
static void obj_create_error_handling |
( |
void |
| ) |
|
|
static |
Definition at line 95 of file obj.c.
◆ obj_create_multiple_objects()
static void obj_create_multiple_objects |
( |
void |
| ) |
|
|
static |
Uses client to create multiple objects. All the operations are expected to complete.
Definition at line 185 of file obj.c.
◆ obj_create_on_multiple_pools()
static void obj_create_on_multiple_pools |
( |
void |
| ) |
|
|
static |
◆ obj_create_simple()
static void obj_create_simple |
( |
void |
| ) |
|
|
static |
Creates an object.
Definition at line 58 of file obj.c.
◆ obj_create_then_delete()
static void obj_create_then_delete |
( |
void |
| ) |
|
|
static |
Creates an object and then issues a new op. to delete it straightaway.
Definition at line 309 of file obj.c.
◆ obj_delete_multiple()
static void obj_delete_multiple |
( |
void |
| ) |
|
|
static |
Arbitrarily creates and deletes objects within the same set of objects. Launches different groups of operations each time.
Definition at line 367 of file obj.c.
◆ obj_no_wait()
static void obj_no_wait |
( |
void |
| ) |
|
|
static |
Launches a create object operation but does not call m0_op_wait().
Definition at line 482 of file obj.c.
◆ obj_op_setup()
static void obj_op_setup |
( |
void |
| ) |
|
|
static |
◆ obj_open_non_existent()
static void obj_open_non_existent |
( |
void |
| ) |
|
|
static |
Tries to open an object that does not exist.
Definition at line 139 of file obj.c.
◆ obj_wait_no_launch()
static void obj_wait_no_launch |
( |
void |
| ) |
|
|
static |
◆ obj_wait_twice()
static void obj_wait_twice |
( |
void |
| ) |
|
|
static |
Launches a create object operation and waits() twice on it.
Definition at line 561 of file obj.c.
◆ st_obj_suite_fini()
static int st_obj_suite_fini |
( |
void |
| ) |
|
|
static |
Finalises the obj suite's environment.
Definition at line 730 of file obj.c.
◆ st_obj_suite_init()
static int st_obj_suite_init |
( |
void |
| ) |
|
|
static |
Initialises the obj suite's environment.
Definition at line 704 of file obj.c.
◆ layout_id
Definition at line 51 of file obj.c.
◆ st_obj_container
Definition at line 50 of file obj.c.
◆ st_suite_obj
Initial value:= {
.ss_name = "obj_st",
.ss_tests = {
{ "obj_create_simple",
{ "obj_create_error_handling",
{ "obj_open_non_existent",
{ "obj_create_multiple_objects",
{ "obj_create_on_multiple_pools",
{ "obj_create_then_delete",
{ "obj_delete_multiple",
{ "obj_no_wait",
{ "obj_wait_twice",
{ "obj_wait_no_launch",
{ "obj_op_setup",
}
}
static void obj_create_then_delete(void)
static int st_obj_suite_fini(void)
static void obj_wait_twice(void)
static void obj_create_multiple_objects(void)
static int st_obj_suite_init(void)
static void obj_create_error_handling(void)
static void obj_wait_no_launch(void)
static void obj_op_setup(void)
static void obj_create_simple(void)
static void obj_delete_multiple(void)
static void obj_no_wait(void)
static void obj_create_on_multiple_pools(void)
static void obj_open_non_existent(void)
Definition at line 735 of file obj.c.
◆ test_id
Definition at line 49 of file obj.c.