chore: checkpoint all prior work for clean state
Captures all uncommitted work from ha-config-bootstrap, ha-heartbeat-liveness, and associated spec/tooling updates: - src: ha.c, ha.h, cluster.c, config_repl.c, myapp.c, raft.c — heartbeat liveness, RDHUP integration, committing phase fixes - tests: test_ha_role.c, test_config_repl.c, test_ha_rdhup_integration.c, test_p1_integration.c, test_p3_hardening.c, scheduler test - specs: election-iomgr-refactor, ha-heartbeat-liveness, ha-peer-connection-reuse, raft-library (new); ha-config-bootstrap and election-iomgr-refactor task/research updates - tooling: .wolf/ state, ha/data cluster fixtures, raft/raft.tla, src/build symlink, xce-build skill update
This commit is contained in:
parent
15bd291bdd
commit
e31673dd88
66 changed files with 122422 additions and 860 deletions
|
|
@ -180,6 +180,7 @@ test_meet_host_selection_always_true_passes(void)
|
|||
int rc = sched_meet_host_selection(&sched, &w, &sel);
|
||||
TEST_ASSERT_EQUAL_INT(1, rc);
|
||||
|
||||
sched_worker_release_host_ctx(&w);
|
||||
zarray_fini(&w.resvals);
|
||||
gc_clear_marks();
|
||||
gc_sweep_select_nodes(NULL, 0);
|
||||
|
|
@ -207,6 +208,7 @@ test_meet_host_selection_always_false_fails(void)
|
|||
int rc = sched_meet_host_selection(&sched, &w, &sel);
|
||||
TEST_ASSERT_EQUAL_INT(0, rc);
|
||||
|
||||
sched_worker_release_host_ctx(&w);
|
||||
zarray_fini(&w.resvals);
|
||||
gc_clear_marks();
|
||||
gc_sweep_select_nodes(NULL, 0);
|
||||
|
|
@ -322,6 +324,8 @@ test_meet_host_selection_numeric_match(void)
|
|||
|
||||
TEST_ASSERT_EQUAL_INT(0, sched_meet_host_selection(&sched, &w2, &sel));
|
||||
|
||||
sched_worker_release_host_ctx(&w8);
|
||||
sched_worker_release_host_ctx(&w2);
|
||||
zarray_fini(&w8.resvals);
|
||||
zarray_fini(&w2.resvals);
|
||||
gc_clear_marks();
|
||||
|
|
@ -379,6 +383,8 @@ test_meet_host_selection_string_match(void)
|
|||
|
||||
TEST_ASSERT_EQUAL_INT(0, sched_meet_host_selection(&sched, &wcpu, &sel));
|
||||
|
||||
sched_worker_release_host_ctx(&wgpu);
|
||||
sched_worker_release_host_ctx(&wcpu);
|
||||
zarray_fini(&wgpu.resvals);
|
||||
zarray_fini(&wcpu.resvals);
|
||||
gc_clear_marks();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue