diff --git a/modules/mesh-delivery-watchman/cmd/mesh-delivery-watchman/integration_test.go b/modules/mesh-delivery-watchman/cmd/mesh-delivery-watchman/integration_test.go index 5f94991b..8cd77f65 100644 --- a/modules/mesh-delivery-watchman/cmd/mesh-delivery-watchman/integration_test.go +++ b/modules/mesh-delivery-watchman/cmd/mesh-delivery-watchman/integration_test.go @@ -307,11 +307,14 @@ func TestWatchmanWhole(t *testing.T) { // 1135/AC8 !strings.Contains(err.Error(), "issue 1953") { t.Fatalf("a drop was not refused naming the hand-act log's home: %v", err) } + // Each on a bus of its own, as subtests of the one whole-module test (DLV-T1). + t.Run("an ask running before the start gets its pulse", anAskRunningBeforeTheStartGetsItsPulse) + t.Run("a want is mirrored as a pulse and the have naming it ends it", aWantIsMirroredAsAPulseAndTheHaveNamingItEndsIt) } -// TestAnAskRunningBeforeTheStartGetsItsPulse puts a running step in the build module's steps before the watchman starts, and +// anAskRunningBeforeTheStartGetsItsPulse, run by TestWatchmanWhole (the test budget: one whole-module test, DLV-T1), puts a running step in the build module's steps before the watchman starts, and // sees the pulse of its ask once it is up: what stood at the start is mirrored as what happens later is (issue 1909). -func TestAnAskRunningBeforeTheStartGetsItsPulse(t *testing.T) { // 1909 +func anAskRunningBeforeTheStartGetsItsPulse(t *testing.T) { // 1909 dir, err := os.MkdirTemp(os.Getenv("TMPDIR"), "w") if err != nil { t.Fatal(err) @@ -393,10 +396,10 @@ func TestAnAskRunningBeforeTheStartGetsItsPulse(t *testing.T) { // 1909 t.Fatalf("no pulse for the ask running before the start (%s)", pk) } -// TestAWantIsMirroredAsAPulseAndTheHaveNamingItEndsIt (1906/D6, ADR 0539 §19): started whole, the watchman mirrors a want of +// aWantIsMirroredAsAPulseAndTheHaveNamingItEndsIt (1906/D6, ADR 0539 §19), run by TestWatchmanWhole: started whole, the watchman mirrors a want of // the assigner as a pulse owed by the node's agent, one that stood before its start as well, and the node-engine's have that // names the want's fingerprint deletes the pulse and writes no stuck key. -func TestAWantIsMirroredAsAPulseAndTheHaveNamingItEndsIt(t *testing.T) { +func aWantIsMirroredAsAPulseAndTheHaveNamingItEndsIt(t *testing.T) { dir, err := os.MkdirTemp(os.Getenv("TMPDIR"), "w") if err != nil { t.Fatal(err)