diff --git a/cmd/mesh-controller/reads-outside b/cmd/mesh-controller/reads-outside new file mode 100644 index 00000000..976b0f50 --- /dev/null +++ b/cmd/mesh-controller/reads-outside @@ -0,0 +1 @@ +These tests read files outside this directory (the repository's root files or other directories): mesh-build-go never keeps this package's verdict (issue 1935). diff --git a/cmd/mesh-controller/silent_mid_tier_integration_test.go b/cmd/mesh-controller/silent_mid_tier_integration_test.go index 4d403b24..fc7c8577 100644 --- a/cmd/mesh-controller/silent_mid_tier_integration_test.go +++ b/cmd/mesh-controller/silent_mid_tier_integration_test.go @@ -193,9 +193,13 @@ func TestAPlanPassesATierWhoseMachineNeverReportsAfterTheBoundAndSendsTheNextToT if !strings.Contains(moved, "laptop") || strings.Contains(moved, "anchor") { t.Errorf("1160/AC5: the plan says %q; want laptop named silent and not anchor", moved) } - if b := plan().Modules["b"]; b == nil || !b.Key { - t.Errorf("tier 1's module is not taken from its key: %+v", b) - } + // The move to tier 1 is saved in one step and the look that marks b taken from its key is the next (release_plan.go + // advances the tier, plan_keys.go takeFromKey marks it): read b once that look ran, not in the instant the tier moved, + // which a loaded build node shows before it (group check fcb076c5387f). + eventually(t, "tier 1's module taken from its key", func() bool { + b := plan().Modules["b"] + return b != nil && b.Key + }) // Tier 1's module is taken from its key once that is built, which the walk's look does by itself. heldB.Store(false) askToLook() diff --git a/internal/broker/reads-outside b/internal/broker/reads-outside new file mode 100644 index 00000000..f6b2d871 --- /dev/null +++ b/internal/broker/reads-outside @@ -0,0 +1 @@ +These tests read files outside this directory (the whole catalogue, the repository, or its root files): mesh-build-go never keeps this package's verdict (issue 1935). diff --git a/internal/gosource/reads-outside b/internal/gosource/reads-outside new file mode 100644 index 00000000..f6b2d871 --- /dev/null +++ b/internal/gosource/reads-outside @@ -0,0 +1 @@ +These tests read files outside this directory (the whole catalogue, the repository, or its root files): mesh-build-go never keeps this package's verdict (issue 1935). diff --git a/internal/inventory/reads-outside b/internal/inventory/reads-outside new file mode 100644 index 00000000..976b0f50 --- /dev/null +++ b/internal/inventory/reads-outside @@ -0,0 +1 @@ +These tests read files outside this directory (the repository's root files or other directories): mesh-build-go never keeps this package's verdict (issue 1935). diff --git a/internal/link/reads-outside b/internal/link/reads-outside new file mode 100644 index 00000000..976b0f50 --- /dev/null +++ b/internal/link/reads-outside @@ -0,0 +1 @@ +These tests read files outside this directory (the repository's root files or other directories): mesh-build-go never keeps this package's verdict (issue 1935). diff --git a/internal/lint/reads-outside b/internal/lint/reads-outside new file mode 100644 index 00000000..f6b2d871 --- /dev/null +++ b/internal/lint/reads-outside @@ -0,0 +1 @@ +These tests read files outside this directory (the whole catalogue, the repository, or its root files): mesh-build-go never keeps this package's verdict (issue 1935). diff --git a/internal/ownmanifest/reads-outside b/internal/ownmanifest/reads-outside new file mode 100644 index 00000000..976b0f50 --- /dev/null +++ b/internal/ownmanifest/reads-outside @@ -0,0 +1 @@ +These tests read files outside this directory (the repository's root files or other directories): mesh-build-go never keeps this package's verdict (issue 1935). diff --git a/internal/recordmirror/reads-outside b/internal/recordmirror/reads-outside new file mode 100644 index 00000000..f6b2d871 --- /dev/null +++ b/internal/recordmirror/reads-outside @@ -0,0 +1 @@ +These tests read files outside this directory (the whole catalogue, the repository, or its root files): mesh-build-go never keeps this package's verdict (issue 1935). diff --git a/internal/store/reads-outside b/internal/store/reads-outside new file mode 100644 index 00000000..976b0f50 --- /dev/null +++ b/internal/store/reads-outside @@ -0,0 +1 @@ +These tests read files outside this directory (the repository's root files or other directories): mesh-build-go never keeps this package's verdict (issue 1935).