Skip to content

Commit

Permalink
Give windows more time
Browse files Browse the repository at this point in the history
  • Loading branch information
Naatan committed Nov 6, 2024
1 parent 864af32 commit 445dbe4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/testhelpers/e2e/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ import (
"github.com/stretchr/testify/require"
)

const RuntimeBuildSourcingTimeout = 6 * time.Minute

var (
RuntimeSolvingTimeoutOpt = termtest.OptExpectTimeout(90 * time.Second)
RuntimeSourcingTimeoutOpt = termtest.OptExpectTimeout(3 * time.Minute)
Expand Down
8 changes: 8 additions & 0 deletions internal/testhelpers/e2e/session_unix.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//go:build !windows
// +build !windows

package e2e

import "time"

const RuntimeBuildSourcingTimeout = 6 * time.Minute
6 changes: 6 additions & 0 deletions internal/testhelpers/e2e/session_windows.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package e2e

import "time"

// RuntimeBuildSourcingTimeout uses a higher timeout on Windows cause Windows
const RuntimeBuildSourcingTimeout = 12 * time.Minute

0 comments on commit 445dbe4

Please sign in to comment.