myxce/src/lib/testsuite
Rongsong Shen 646aa69aa8 fix(controller): set c->running in cluster_run so HA primary streams joblist/workerlist
cluster_start (which set c->running) is orphaned on the HA myapp_run path, so
the running flag was never set on HA nodes — check_controller() treated the
primary as shutting down and zeroed joblist/workerlist reply chunks. Own the
flag lifecycle in cluster_run, symmetric with the c->running=0 on shutdown.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 03:38:55 +00:00
..
test.c chore: baseline snapshot — prior-session work + ha-consistency-invariants spec family 2026-06-11 13:21:50 +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_netio_on_connected.c feat(election-iomgr-refactor): add on_connected fire-once callback to endpoint_t 2026-05-30 07:34:08 +00: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_raft.c fix(ha): election-safety hardening — vote gates, restored-vote term, freshness source 2026-06-10 01:25:39 +00:00
test_request.c fix(controller): set c->running in cluster_run so HA primary streams joblist/workerlist 2026-06-16 03:38:55 +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