From 555ed4963a8a44f44c549e9b917841438c85b2f7 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 22 Oct 2026 16:29:37 +0200 Subject: [PATCH] Read the pinned placement at its new path in the pin integration test (issue 1148) --- .../mesh-build-go/cmd/mesh-build-go/pins_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mesh-build-go/cmd/mesh-build-go/pins_integration_test.go b/modules/mesh-build-go/cmd/mesh-build-go/pins_integration_test.go index f61519e5..d32cfe2b 100644 --- a/modules/mesh-build-go/cmd/mesh-build-go/pins_integration_test.go +++ b/modules/mesh-build-go/cmd/mesh-build-go/pins_integration_test.go @@ -46,7 +46,7 @@ func TestRealFetchAndBuildOfAMemberPinningAPullHead(t *testing.T) { if st.State != delivery.StepPassed { t.Fatalf("the fetch ended %s: %s", st.State, st.Reason) } - if _, err := os.Stat(filepath.Join(m.Work, res.Workspace, "pinned", "beside", "dep", "go", "dep.go")); err != nil { + if _, err := os.Stat(filepath.Join(m.Work, res.Workspace, "pinned", "dep@"+head, "beside", "dep", "go", "dep.go")); err != nil { t.Errorf("the pull request's repository was not placed beside the workspace: %v", err) } built, err := m.build(context.Background(), map[string]any{"workspace": res.Workspace, "module": ".", "artifact": "tools"})