Artifact 56f5d2db4ca77b33b8e578d1b83dfb6bfa446c407d51b5bfe865eca009810b7b:
- File
sim/hub_leaf_test.go
-
2026-05-04 19:34:30
— part of check-in
[7275783d59]
on branch feat/113-hub-leaf-e2e
— test(sim): hub + leaf agent end-to-end integration test
Adds sim/hub_leaf_test.go: a real *hub.Hub bound to auto-allocated ports, a real *agent.Agent built against a leaf repo cloned from the hub, and a round-trip Commit + SyncTo + Hub.ReadAt that exercises the HTTP-xfer path end-to-end.
Without this test, the kind of cross-component regression bones surfaced in #120 (the SetMaxOpenConns deadlock under concurrent clones) only shows up downstream. With it, EdgeSync's own CI catches it.
Wired into the existing 'Sim serve tests' step (Makefile + test.yml) alongside TestServeHTTP/TestLeafToLeaf/TestAgentServe so the test runs on every PR.
Closes #113 (user: [email protected], size: 4372) [annotate] [blame] [check-ins using]
-
2026-05-04 19:44:29
— part of check-in
[995066ac2a]
on branch trunk
— test(sim): hub + leaf agent end-to-end integration test (#126)
Adds sim/hub_leaf_test.go: a real *hub.Hub bound to auto-allocated ports, a real *agent.Agent built against a leaf repo cloned from the hub, and a round-trip Commit + SyncTo + Hub.ReadAt that exercises the HTTP-xfer path end-to-end.
Without this test, the kind of cross-component regression bones surfaced in #120 (the SetMaxOpenConns deadlock under concurrent clones) only shows up downstream. With it, EdgeSync's own CI catches it.
Wired into the existing 'Sim serve tests' step (Makefile + test.yml) alongside TestServeHTTP/TestLeafToLeaf/TestAgentServe so the test runs on every PR.
Closes #113 (user: [email protected], size: 4372) [annotate] [blame] [check-ins using]
-
2026-05-04 19:34:30
— part of check-in
[7275783d59]
on branch feat/113-hub-leaf-e2e
— test(sim): hub + leaf agent end-to-end integration test