Skip to content

Commit

Permalink
Increase test timeout from 10m to 15m (#1340)
Browse files Browse the repository at this point in the history
Teamcity build fails intermittently because of the 10-minute timeout. The
10-minute timeout is for the complete test suite. This PR increases the
test timeout from 10 minutes to 15 minutes. We might need to increase
the timeout in the future when more tests are added.
  • Loading branch information
Ibrahim Jarif authored May 28, 2020
1 parent 84f5d4a commit 00b86b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ go test -v -race $packages
echo
echo "==> Starting tests with value log mmapped..."
# Run top level package tests with mmap flag.
go test -v -race github.com/dgraph-io/badger/v2 --vlog_mmap=true
go test -timeout=15m -v -race github.com/dgraph-io/badger/v2 --vlog_mmap=true

echo
echo "==> Starting tests with value log not mmapped..."
go test -v -race github.com/dgraph-io/badger/v2 --vlog_mmap=false
go test -timeout=15m -v -race github.com/dgraph-io/badger/v2 --vlog_mmap=false

0 comments on commit 00b86b2

Please sign in to comment.