From 8d92433f20537c5ab3d490e4936bc8d5f6289417 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 22 Oct 2026 21:40:20 +0200 Subject: [PATCH] Name no node in restic's and mosquitto's fixtures (issue 1838) --- modules/mosquitto/test/topics.test.ts | 2 +- modules/restic/cmd/restic-backups/hand_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mosquitto/test/topics.test.ts b/modules/mosquitto/test/topics.test.ts index e462b998..0922d961 100644 --- a/modules/mosquitto/test/topics.test.ts +++ b/modules/mosquitto/test/topics.test.ts @@ -9,7 +9,7 @@ import assert from "node:assert/strict"; import { filterProblem, missingAcls, parseRoleAcls, staleAcls, topicFilters, wantedAcls } from "../topics.ts"; test("a consumer that contributed nothing gets its own subtree", () => { - assert.deepEqual(topicFilters({}, "mesh_ace_hass"), { ok: true, filters: ["mesh_ace_hass/#"], own: true }); + assert.deepEqual(topicFilters({}, "mesh_node_a_hass"), { ok: true, filters: ["mesh_node_a_hass/#"], own: true }); assert.deepEqual(topicFilters(undefined, "x"), { ok: true, filters: ["x/#"], own: true }); // Settings merge into every contribution: keys that are not `topics` change nothing. assert.deepEqual(topicFilters({ endpoints: { web: {} } }, "x"), { ok: true, filters: ["x/#"], own: true }); diff --git a/modules/restic/cmd/restic-backups/hand_test.go b/modules/restic/cmd/restic-backups/hand_test.go index afd4637b..03d5d19a 100644 --- a/modules/restic/cmd/restic-backups/hand_test.go +++ b/modules/restic/cmd/restic-backups/hand_test.go @@ -212,7 +212,7 @@ func TestWithTheRealResticAHandTakenBackupOutlivesTheNightTheSameDay(t *testing. must(t, os.Mkdir(data, 0o700)) must(t, os.WriteFile(filepath.Join(data, "library"), []byte("before the migration\n"), 0o600)) where := placed(t, "# plex\npath "+data+"\n") - // A machine whose counts are full, as ace's plex was: restic keeps the oldest restore point of a period not + // A machine whose counts are full, as node-a's plex was: restic keeps the oldest restore point of a period not // yet filled, which would hide the issue on a fresh repository. conf, err := os.ReadFile(filepath.Join(where.State, RetentionFile)) must(t, err)