Skip to content

Commit b6be29f

Browse files
committed
Increase integration test timeout.
- 10 seconds is not always sufficient to start a container in CI.
1 parent e8aba7f commit b6be29f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

init_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ func by(_ string, f func()) { f() }
2525

2626
func TestAcceptance(t *testing.T) {
2727
format.MaxLength = 0
28+
SetDefaultEventuallyTimeout(30 * time.Second)
29+
2830
Expect := NewWithT(t).Expect
2931

3032
root, err := filepath.Abs(".")
@@ -36,8 +38,6 @@ func TestAcceptance(t *testing.T) {
3638
stack.RunArchive = filepath.Join(root, "build", "run.oci")
3739
stack.RunImageID = fmt.Sprintf("stack-run-%s", uuid.NewString())
3840

39-
SetDefaultEventuallyTimeout(10 * time.Second)
40-
4141
suite := spec.New("Acceptance", spec.Report(report.Terminal{}), spec.Parallel())
4242
suite("Metadata", testMetadata)
4343
suite("BuildpackIntegration", testBuildpackIntegration)

0 commit comments

Comments
 (0)