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:
@@ -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
|
// 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.
|
// once to both machines, and said as sent once for each.
|
||||||
mu.Lock()
|
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)
|
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" {
|
if len(sends) != 2 || strings.Join(sends[0], ",") != "anchor,laptop" || strings.Join(sends[1], ",") != "anchor,laptop" {
|
||||||
|
|||||||
Reference in New Issue
Block a user