From b34055f580d4e2a4ebc1603b96cd0c7ae22ad97b Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 14 Oct 2026 21:53:50 +0200 Subject: [PATCH] Register the compared module after the fixture's own registration (review of #336) --- cmd/mesh-controller/same_program_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mesh-controller/same_program_test.go b/cmd/mesh-controller/same_program_test.go index 479dce8b..2d47d6bd 100644 --- a/cmd/mesh-controller/same_program_test.go +++ b/cmd/mesh-controller/same_program_test.go @@ -111,7 +111,7 @@ func TestAWalkWhoseEveryBuildCameOutTheSameIsDone(t *testing.T) { // What runs: the module registered with that build's image (RegisteredHeld reads the module table). if err := inv.RegisterModule(ctx, catalogue.Manifest{Module: "one", Version: "1", Resources: []map[string]any{ {"id": "app", "type": "container", "name": "one", "image": "store/one@sha256:aaaa"}}}, - inventory.Source{Repository: "novox/one", Ref: "main", BuiltFrom: "c0", Asked: t0.Add(-time.Hour)}); err != nil { + inventory.Source{Repository: "novox/one", Ref: "main", BuiltFrom: "c0", Asked: time.Now()}); err != nil { t.Fatal(err) } pull := link.PullRef{Owner: "novox", Repo: "one", Number: 7}