myxce/src/lib/testsuite
Rongsong Shen 4737b0f8a3 feat(election-iomgr-refactor): add delay_task_ms() for ms-granularity one-shot tasks
Add millisecond-granularity delay_task_ms() to delaymgr using
clock_gettime(CLOCK_MONOTONIC) for deadline computation. Extends
delay_task_t with nextrun_ts field; delay_worker distinguishes
ms-tasks from second-tasks via non-zero nextrun_ts. Backward
compatible with existing delay_task callers.

4 delay tests pass (2 new: tolerance and invalid-args).
Provides the timeout primitive for election and committing watchdogs.
2026-05-30 07:15:54 +00:00
..
test.c test(ha-config-bootstrap): add RED-phase tests for xce_request_with_retry (task 10.1) 2026-05-29 02:45:24 +00:00
test_bitset.c - introduce bitset 2026-02-13 11:01:33 +08:00
test_cluster.c feat: P2.5-1/2/2a/3/8 xce_cluster_config_t, xce_connect_cluster, xce_reconnect_step 2026-05-08 02:16:08 +00:00
test_cluster_parse.c feat: P2.5-5/6 add --peers/--ca-cert parsing to worker+scheduler with validation 2026-05-08 02:32:56 +00:00
test_config.c feat: add persistence/HA system constants to config.h with tests (P0-A) 2026-05-07 08:41:19 +00:00
test_delay.c feat(election-iomgr-refactor): add delay_task_ms() for ms-granularity one-shot tasks 2026-05-30 07:15:54 +00:00
test_error.c update controller code 2025-11-05 16:58:57 +08:00
test_group.c save works 2026-02-28 17:55:50 +08:00
test_hooks.c feat: xce_disable_hook() + _Atomic hook_fn_t + NULL-slot reuse (P1-2a) 2026-05-07 13:55:42 +00:00
test_htab.c update controller code 2025-11-05 16:58:57 +08:00
test_htab_int.c update controller code 2025-11-05 16:58:57 +08:00
test_idgen.c jobid format and parse 2025-11-19 14:44:49 +08:00
test_jobj.c save works 2026-03-06 18:20:30 +08:00
test_kv.c use librtti for worker/queue/resource 2026-02-25 16:56:50 +08:00
test_kvmgr.c save works 2026-03-04 18:18:53 +08:00
test_kvmgr_capture.c test: add KVMGR_KEY_INT coverage to kvmgr_capture_keys tests 2026-05-07 11:12:11 +00:00
test_libxce_retry.c feat(ha-config-bootstrap): implement xce_retry_config_t and xce_request_with_retry (tasks 10.1, 10.2) 2026-05-29 03:00:34 +00:00
test_limit.c save works 2026-02-28 17:55:50 +08:00
test_ordq.c pass pend reason back to controller 2025-12-23 15:29:26 +08:00
test_preason.c support limit 2026-01-12 15:27:54 +08:00
test_qobj.c save works 2026-03-06 18:20:30 +08:00
test_request.c feat: P0-2a C-side plumbing for host control 2026-04-17 07:46:41 +00:00
test_resmgr_fixture.c feat: implement Phase 4d const-fold transform for select AST 2026-04-29 08:24:04 +00:00
test_resmgr_fixture.h feat: implement Phase 4d const-fold transform for select AST 2026-04-29 08:24:04 +00:00
test_resreq.c docs: mark Phase 6 complete in phase6-scheduler-integration-plan 2026-04-30 07:17:32 +00:00
test_select.c fix: sel_key_cmp_fn padding-byte mismatch in kvtab lookups 2026-05-12 09:53:59 +00:00
test_utils.c use clang-format to format code 2025-11-25 14:58:09 +08:00
test_wobj.c save works 2026-03-06 18:20:30 +08:00
test_xlist.c support limit 2026-01-12 15:27:54 +08:00
test_xstring.c docs: mark Phase 6 complete in phase6-scheduler-integration-plan 2026-04-30 07:17:32 +00:00
test_xvec.c using xvec related api in scheduler 2026-01-16 18:21:37 +08:00
test_zarray.c use librtti for worker/queue/resource 2026-02-25 16:56:50 +08:00
test_zarray_cow.c feat: implement xzarray COW freeze/thaw with pre-grown shadow array (P0-2) 2026-05-07 09:46:28 +00:00