diff --git a/cmd/mesh-controller/replay614_test.go b/cmd/mesh-controller/replay614_test.go index ffb8015f..4c2f9d9a 100644 --- a/cmd/mesh-controller/replay614_test.go +++ b/cmd/mesh-controller/replay614_test.go @@ -63,11 +63,14 @@ func TestReplay614ANewSDKPlansTheToolchainAndThenItsBundles(t *testing.T) { m := orderMember{ID: "novox/mesh-sdk@new", Repository: "novox/mesh-sdk", Head: "new", Paths: []string{"src/provisioner/index.ts", "package.json"}} s := pullScope(m.pull(), entries, read, edges) - want := [][]string{{"mesh-sdk"}, {"mesh-tools"}, {"minio", "umami"}} + // Since R4g no bundle is compiled in a toolchain image (526eed99, issue 1851 C1b: the toolchain edge is gone), so a + // new SDK plans itself and what stands on its package; the TypeScript bundles move by their own build keys, whose + // fingerprints name what they are built from (issue 1938: this test was kept from older runs until then). + want := [][]string{{"mesh-sdk"}, {"mesh-tools"}} if !reflect.DeepEqual(s.Reach.Plan.Tiers, want) { t.Fatalf("a new SDK plans %v, want %v (edges %v)", s.Reach.Plan.Tiers, want, edges) } - if !reflect.DeepEqual(s.Dependents, []string{"mesh-tools", "minio", "umami"}) { + if !reflect.DeepEqual(s.Dependents, []string{"mesh-tools"}) { t.Errorf("dependents %v", s.Dependents) } }