зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1713137 - Fixed sync TPS tests r=markh
Differential Revision: https://phabricator.services.mozilla.com/D137921
This commit is contained in:
Родитель
258d57bb30
Коммит
d72675f1aa
|
@ -19,7 +19,7 @@ const { Logger } = ChromeUtils.import("resource://tps/logger.jsm");
|
|||
ChromeUtils.defineModuleGetter(
|
||||
this,
|
||||
"formAutofillStorage",
|
||||
"resource://formautofill/FormAutofillStorage.jsm"
|
||||
"resource://autofill/FormAutofillStorage.jsm"
|
||||
);
|
||||
|
||||
ChromeUtils.defineModuleGetter(
|
||||
|
|
|
@ -1,19 +1,8 @@
|
|||
{
|
||||
"sync_account": {
|
||||
"username": "__SYNC_ACCOUNT_USERNAME__",
|
||||
"password": "__SYNC_ACCOUNT_PASSWORD__",
|
||||
"passphrase": "__SYNC_ACCOUNT_PASSPHRASE__"
|
||||
},
|
||||
"fx_account": {
|
||||
"username": "__FX_ACCOUNT_USERNAME__",
|
||||
"password": "__FX_ACCOUNT_PASSWORD__"
|
||||
},
|
||||
"email": {
|
||||
"username": "crossweave@mozilla.com",
|
||||
"password": "",
|
||||
"passednotificationlist": ["crossweave@mozilla.com"],
|
||||
"notificationlist": ["crossweave@mozilla.com"]
|
||||
},
|
||||
"auth_type": "fx_account",
|
||||
"es": "localhost:9200",
|
||||
"os": "Ubuntu",
|
||||
|
|
|
@ -425,11 +425,7 @@ class TPSTestRunner(object):
|
|||
else:
|
||||
try:
|
||||
|
||||
if self.numfailed > 0 or self.numpassed == 0:
|
||||
To = self.config["email"].get("notificationlist")
|
||||
else:
|
||||
To = self.config["email"].get("passednotificationlist")
|
||||
self.writeToResultFile(self.postdata, sendTo=To)
|
||||
self.writeToResultFile(self.postdata)
|
||||
except Exception:
|
||||
traceback.print_exc()
|
||||
try:
|
||||
|
|
Загрузка…
Ссылка в новой задаче