Name tier 1's take in the rollout test by b's own repository, novox/b (issue 1938, after issue 1931)

This commit is contained in:
2026-10-24 06:24:42 +02:00
parent f2da7d0540
commit e8b66a2eb3
+1 -1
View File
@@ -242,7 +242,7 @@ func TestARolloutAdvancesOnEventsAndAReplacedControllerResumesIt(t *testing.T) {
// No tier asked twice and none skipped: one ask for tier 1 (tier 0 was built when the plan was kept), each tier sent
// once to both machines, and said as sent once for each.
mu.Lock()
if len(*asked) != 1 || !strings.HasPrefix((*asked)[0], "novox/mesh-catalog#key-") {
if len(*asked) != 1 || !strings.HasPrefix((*asked)[0], "novox/b#key-") { // b is registered from novox/b
t.Errorf("taken from keys = %v; want tier 1's module taken once", *asked)
}
if len(sends) != 2 || strings.Join(sends[0], ",") != "anchor,laptop" || strings.Join(sends[1], ",") != "anchor,laptop" {