Skip to content

Commit e2c215c

Browse files
Bryan C. Millsromaindoumenc
Bryan C. Mills
authored andcommitted
cmd/go/internal/vcweb: increase script WaitDelay by 30x
This should reduce spurious VCS failures on slow builders, like the one observed in https://build.golang.org/log/e773fe404b2009d67fa34f048e023f0a86663a13 Updates golang#27494. Change-Id: Ibb094c8ddf79e0ab481c00fcf501dc955b0da787 Reviewed-on: https://go-review.googlesource.com/c/go/+/447116 Auto-Submit: Bryan Mills <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 8af4aea commit e2c215c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/go/internal/vcweb/script.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func newScriptEngine() *script.Engine {
3333
conds := script.DefaultConds()
3434

3535
interrupt := func(cmd *exec.Cmd) error { return cmd.Process.Signal(os.Interrupt) }
36-
gracePeriod := 1 * time.Second // arbitrary
36+
gracePeriod := 30 * time.Second // arbitrary
3737

3838
cmds := script.DefaultCmds()
3939
cmds["at"] = scriptAt()

0 commit comments

Comments
 (0)