mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
Changed default timeout for run-tests.py from 30 to 180 seconds.
As e.g. test-http-proxy already takes quite some time (about a minute here) and tests usually should clean up after themselves, the timeout should only be hit in case of other problems.
This commit is contained in:
parent
169c49677d
commit
ee260bdfad
@ -32,7 +32,7 @@ parser.add_option("-s", "--cover_stdlib", action="store_true",
|
|||||||
help="print a test coverage report inc. standard libraries")
|
help="print a test coverage report inc. standard libraries")
|
||||||
parser.add_option("-C", "--annotate", action="store_true",
|
parser.add_option("-C", "--annotate", action="store_true",
|
||||||
help="output files annotated with coverage")
|
help="output files annotated with coverage")
|
||||||
parser.set_defaults(timeout=30)
|
parser.set_defaults(timeout=180)
|
||||||
(options, args) = parser.parse_args()
|
(options, args) = parser.parse_args()
|
||||||
verbose = options.verbose
|
verbose = options.verbose
|
||||||
coverage = options.cover or options.cover_stdlib or options.annotate
|
coverage = options.cover or options.cover_stdlib or options.annotate
|
||||||
|
Loading…
Reference in New Issue
Block a user