Skip to content

Commit

Permalink
keep output active so as to prevent Travis timeout
Browse files Browse the repository at this point in the history
Signed-off-by: chrismark <chrismarkou92@gmail.com>
  • Loading branch information
ChrsMark committed Dec 12, 2019
1 parent 33e986e commit e20c930
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dev-tools/mage/integtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
"strconv"
"strings"
"sync"
"time"

"github.com/pkg/errors"

Expand Down Expand Up @@ -219,6 +220,14 @@ func runInIntegTestEnv(mageTarget string, test func() error, passThroughEnvVars
integTestLock.Lock()
defer integTestLock.Unlock()

// keep output active so as to prevent Travis timeout
go func() {
for {
fmt.Print(".")
time.Sleep(60 * time.Second)
}
}()

_, err = sh.Exec(
composeEnv,
os.Stdout,
Expand Down

0 comments on commit e20c930

Please sign in to comment.