Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/pkg/agent/branches_coverage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ func TestDeliverStartupKick_Delivered(t *testing.T) {
agent.State = StateRunning
agent.launchGen = 3
paneInject(t, session, "goose is ready")
// Don't start deliverStartupKick's readiness clock until tmux has actually
// painted the marker: on a loaded runner the render can outlast
// paneInject's fixed sleep AND the TestMain-shrunk cliReadyTimeout,
// dropping the kick and flaking this test for reasons unrelated to the
// delivery path under test. Same pattern as
// TestDeliverStartupKick_BobReceivesKick (#4871).
requirePaneShows(t, session, "goose is ready")
m.deliverStartupKick(agent, "bootstrap prompt", 3)
if agent.LastKick == nil {
t.Error("startup kick should be delivered on matching generation")
Expand Down
Loading