зеркало из https://github.com/github/vitess-gh.git
travis: turn off -follow for now to reduce spam in the happy case.
This commit is contained in:
Родитель
9b00cd4e72
Коммит
55c0561ed1
|
@ -66,7 +66,8 @@ env:
|
|||
- VT_GO_PARALLEL=4
|
||||
- PHP_FLAGS="-d extension=$HOME/php/mongo.so"
|
||||
- PATH="$HOME/php:$PATH"
|
||||
- TEST_FLAGS="-docker=false -timeout 5m -follow -remote-stats http://enisoc.com:15123/travis/stats"
|
||||
# Add -follow to TEST_FLAGS below to print as the test runs, to diagnose stuck tests.
|
||||
- TEST_FLAGS="-docker=false -timeout=5m -print-log -remote-stats=http://enisoc.com:15123/travis/stats"
|
||||
matrix:
|
||||
# NOTE: Travis CI schedules up to 5 tests simultaneously.
|
||||
# All our tests should be spread out as evenly as possible across these 5 slots.
|
||||
|
|
2
test.go
2
test.go
|
@ -345,7 +345,7 @@ func main() {
|
|||
|
||||
// Save/print test output.
|
||||
if err != nil || *logPass {
|
||||
if *printLog {
|
||||
if *printLog && !*follow {
|
||||
test.logf("%s\n", output)
|
||||
}
|
||||
outFile := fmt.Sprintf("%v-%v.%v.log", test.name, test.runIndex+1, try)
|
||||
|
|
Загрузка…
Ссылка в новой задаче