зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1500523 - Increase DMD timeout. r=njn
This bumps the timeout when waiting for reports to 180 seconds which seems to be long enough for MacOS in automation. --HG-- extra : rebase_source : 6eb396e53bd37f6640b7c5402fb997c73af40d99
This commit is contained in:
Родитель
b00fa9179c
Коммит
f5ec738046
|
@ -255,7 +255,7 @@ class AwsyTestCase(MarionetteTestCase):
|
|||
self.marionette.execute_script(dmd_script, script_timeout=60000)
|
||||
tmpdir = tempfile.gettempdir()
|
||||
prefix = "incomplete-unified-memory-report-%s-%d-*" % (checkpointName, iteration)
|
||||
max_wait = 60
|
||||
max_wait = 240
|
||||
elapsed = 0
|
||||
while fnmatch.filter(os.listdir(tmpdir), prefix) and elapsed < max_wait:
|
||||
self.logger.info("Waiting for memory report to finish")
|
||||
|
|
|
@ -206,7 +206,7 @@ private:
|
|||
static void TimeoutCallback(nsITimer* aTimer, void* aData);
|
||||
// Note: this timeout needs to be long enough to allow for the
|
||||
// possibility of DMD reports and/or running on a low-end phone.
|
||||
static const uint32_t kTimeoutLengthMS = 50000;
|
||||
static const uint32_t kTimeoutLengthMS = 180000;
|
||||
|
||||
mozilla::Mutex mMutex;
|
||||
bool mIsRegistrationBlocked;
|
||||
|
|
Загрузка…
Ссылка в новой задаче