mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00:00
Increase allowed test runtimes (fixes #1049)
This commit is contained in:
parent
8bd52946b4
commit
d669c07e8a
2
build.go
2
build.go
@ -181,7 +181,7 @@ func setup() {
|
|||||||
|
|
||||||
func test(pkg string) {
|
func test(pkg string) {
|
||||||
setBuildEnv()
|
setBuildEnv()
|
||||||
runPrint("go", "test", "-short", "-timeout", "10s", pkg)
|
runPrint("go", "test", "-short", "-timeout", "60s", pkg)
|
||||||
}
|
}
|
||||||
|
|
||||||
func install(pkg string, tags []string) {
|
func install(pkg string, tags []string) {
|
||||||
|
2
build.sh
2
build.sh
@ -128,7 +128,7 @@ case "${1:-default}" in
|
|||||||
&& go run build.go -race \
|
&& go run build.go -race \
|
||||||
&& export GOPATH=$(pwd)/Godeps/_workspace:$GOPATH \
|
&& export GOPATH=$(pwd)/Godeps/_workspace:$GOPATH \
|
||||||
&& cd test \
|
&& cd test \
|
||||||
&& go test -tags integration -v -timeout 30m -short'
|
&& go test -tags integration -v -timeout 60m -short'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user