Lower timeout
The tests usually complete in about 15 seconds, so let's lower the timeout to fail a little faster in cases where we have hangs in `pulumi` itself.
This commit is contained in:
parent
786e1b92e1
commit
51250c42db
2
Makefile
2
Makefile
|
@ -72,7 +72,7 @@ vet:
|
|||
.PHONY: test
|
||||
test:
|
||||
@$(ECHO) "\033[0;32mTEST:\033[0m"
|
||||
go test -cover -parallel ${TESTPARALLELISM} ${PROJECT_PKGS}
|
||||
go test -timeout 2m -cover -parallel ${TESTPARALLELISM} ${PROJECT_PKGS}
|
||||
|
||||
.PHONY: integrationtest
|
||||
integrationtest:
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
|
||||
<!-- Ignore the exit code (but retain it) so we can kill all the lingering node processes even when go test
|
||||
fails. Otherwise, the AppVeyor job would hang until it reached the timeout -->
|
||||
<Exec Command="go test -cover -parallel $(TestParallelism) .\examples"
|
||||
<Exec Command="go test -timeout 2m -cover -parallel $(TestParallelism) .\examples"
|
||||
IgnoreExitCode="true"
|
||||
WorkingDirectory="$(RepoRootDirectory)">
|
||||
<Output TaskParameter="ExitCode" PropertyName="GoTestExitCode" />
|
||||
|
|
Loading…
Reference in a new issue