mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Give release builds more time.
Lets see if this removes the flake on the bots seen in sky tests. In local testing it looks like sky_server's CherryPy becomes overloaded and then the requests take a very long time to complete which makes the tests timeout. I increased the timeout locally and it made the tests start passing consistently when using high --repeat values. R=ojan@chromium.org Review URL: https://codereview.chromium.org/741603002
This commit is contained in:
parent
c04c091978
commit
0aa29129ab
@ -245,10 +245,11 @@ class Port(object):
|
||||
return False
|
||||
|
||||
def default_timeout_ms(self):
|
||||
timeout_ms = 6 * 1000
|
||||
if self.get_option('configuration') == 'Debug':
|
||||
# Debug is usually 2x-3x slower than Release.
|
||||
return 3 * timeout_ms
|
||||
# TODO(esprehn): Remove this hack.
|
||||
timeout_ms = 30 * 1000
|
||||
# if self.get_option('configuration') == 'Debug':
|
||||
# # Debug is usually 2x-3x slower than Release.
|
||||
# return 3 * timeout_ms
|
||||
return timeout_ms
|
||||
|
||||
def driver_stop_timeout(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user