Skip to content
Closed
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
8 changes: 6 additions & 2 deletions e2e/tests/resume_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ func TestResumeSquashMergeMultipleCheckpoints(t *testing.T) {

s.Git(t, "add", ".")
s.Git(t, "commit", "-m", "Add red doc")
testutil.WaitForCheckpoint(t, s, 30*time.Second)
// The second checkpoint condenses onto the single git-branch v1 branch,
// whose advance can lag on a loaded CI runner. 30s flaked here
// intermittently (only on the git-branch backend); give it 60s. See #787
// for the same CI-slower-than-local timing class.
Comment on lines +89 to +92
testutil.WaitForCheckpoint(t, s, 60*time.Second)
cp1Ref := testutil.CurrentCheckpointRef(t, s.Dir)

_, err = s.RunPrompt(t, ctx,
Expand All @@ -97,7 +101,7 @@ func TestResumeSquashMergeMultipleCheckpoints(t *testing.T) {

s.Git(t, "add", ".")
s.Git(t, "commit", "-m", "Add blue doc")
testutil.WaitForCheckpointAdvanceFrom(t, s.Dir, cp1Ref, 30*time.Second)
testutil.WaitForCheckpointAdvanceFrom(t, s.Dir, cp1Ref, 60*time.Second)

// Record checkpoint IDs from both feature branch commits.
cpID1 := testutil.GetCheckpointTrailer(t, s.Dir, "HEAD~1")
Expand Down
Loading