test/lib/raft_heap.h
raw| 1 | /** |
| 2 | * Helpers for injecting failures into raft's allocator. |
| 3 | */ |
| 4 | |
| 5 | #ifndef COWSQL_TEST_RAFT_HEAP_H |
| 6 | #define COWSQL_TEST_RAFT_HEAP_H |
| 7 | |
| 8 | #include "munit.h" |
| 9 | |
| 10 | void test_raft_heap_setup(const MunitParameter params[], void *user_data); |
| 11 | void test_raft_heap_tear_down(void *data); |
| 12 | void test_raft_heap_fault_config(int delay, int repeat); |
| 13 | void test_raft_heap_fault_enable(void); |
| 14 | |
| 15 | #endif /* COWSQL_TEST_RAFT_HEAP_H */ |