Bug 1713137 - Fixed sync TPS tests r=markh

Differential Revision: https://phabricator.services.mozilla.com/D137921
This commit is contained in:
lougeniac64 2022-02-08 23:46:03 +00:00
Родитель 258d57bb30
Коммит d72675f1aa
3 изменённых файлов: 2 добавлений и 17 удалений

Просмотреть файл

@ -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: