From 85d1707e829f3708b99db4436353e71910ac656a Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 19 Nov 2026 01:24:02 +0100 Subject: [PATCH] selfcompose: the trunk-ask backoff test is a subtest of an existing test, no function added Builds: design 47 G-22 A-487a, the test budget (module total back to main's count) --- internal/selfcompose/entries_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/selfcompose/entries_test.go b/internal/selfcompose/entries_test.go index 730786e5..5c189589 100644 --- a/internal/selfcompose/entries_test.go +++ b/internal/selfcompose/entries_test.go @@ -635,6 +635,7 @@ func TestRunningBuildEntryKeptAndHandedAgain(t *testing.T) { // A-461, A-461e: a node asks the trunk build only of what it needs of another node's placement (the store's holder, the provider // it is bound to), never of every module placed there, and beside the pass. func TestOnlyWhatTheNodeNeedsOfAnotherNodesPlacementIsAsked(t *testing.T) { + t.Run("a trunk build the catalog gave none of waits its backoff or a catalog-revision (A-487a)", trunkAskBackoffAndCatalogRevision) env := newFakeBus().env() env.Node = "n1" var mu sync.Mutex @@ -670,7 +671,7 @@ func TestOnlyWhatTheNodeNeedsOfAnotherNodesPlacementIsAsked(t *testing.T) { // A-487a (A-461e): a trunk build the catalog gave none of is not asked again at every pass: it waits laterAgain's step for the module // (5 s, then 15 s), and the seat's event catalog-revision ends the wait at once; an answer starts the steps again from 5 s. The // event is heard through Env.Hear on the contract's subject; a refused subscription is said once and tried again. -func TestTrunkAskBackoffAndCatalogRevision(t *testing.T) { +func trunkAskBackoffAndCatalogRevision(t *testing.T) { old := meshcatalogclient.SourcePrefix2 + strings.Repeat("1", 64) now := time.Date(2026, 11, 19, 10, 0, 0, 0, time.UTC) var asks int