From f3a57dcc56fb6c198095cafd11d0decff9f720c4 Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 30 Oct 2026 10:21:28 +0100 Subject: [PATCH] mesh-self-check: the whole-run integration test answers the setting probes with the probes it asserts, since the default list is D13 and D-fill --- .../cmd/mesh-self-check/whole_integration_test.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/mesh-self-check/cmd/mesh-self-check/whole_integration_test.go b/modules/mesh-self-check/cmd/mesh-self-check/whole_integration_test.go index 54ae1679..a8d74293 100644 --- a/modules/mesh-self-check/cmd/mesh-self-check/whole_integration_test.go +++ b/modules/mesh-self-check/cmd/mesh-self-check/whole_integration_test.go @@ -140,6 +140,17 @@ func (p *player) handle(m wire) { keys, err = []string{}, nil } p.answer(m.ID, keys, err) + case "mesh/provision.get": + // The setting `probes`: this run judges the bus probes it asserts below (D13's facts are not on this bus). + var g struct { + Kind, Key string + } + _ = json.Unmarshal(m.Params, &g) + if g.Kind == "config" && g.Key == "probes" { + p.answer(m.ID, []string{"D2", "D7", "DW", "D15"}, nil) + return + } + p.answer(m.ID, nil, fmt.Errorf("no %s value %s here", g.Kind, g.Key)) case "mesh/state.delete": kv, err := p.kv(a.State) if err == nil {