зеркало из 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(
|
ChromeUtils.defineModuleGetter(
|
||||||
this,
|
this,
|
||||||
"formAutofillStorage",
|
"formAutofillStorage",
|
||||||
"resource://formautofill/FormAutofillStorage.jsm"
|
"resource://autofill/FormAutofillStorage.jsm"
|
||||||
);
|
);
|
||||||
|
|
||||||
ChromeUtils.defineModuleGetter(
|
ChromeUtils.defineModuleGetter(
|
||||||
|
|
|
@ -1,19 +1,8 @@
|
||||||
{
|
{
|
||||||
"sync_account": {
|
|
||||||
"username": "__SYNC_ACCOUNT_USERNAME__",
|
|
||||||
"password": "__SYNC_ACCOUNT_PASSWORD__",
|
|
||||||
"passphrase": "__SYNC_ACCOUNT_PASSPHRASE__"
|
|
||||||
},
|
|
||||||
"fx_account": {
|
"fx_account": {
|
||||||
"username": "__FX_ACCOUNT_USERNAME__",
|
"username": "__FX_ACCOUNT_USERNAME__",
|
||||||
"password": "__FX_ACCOUNT_PASSWORD__"
|
"password": "__FX_ACCOUNT_PASSWORD__"
|
||||||
},
|
},
|
||||||
"email": {
|
|
||||||
"username": "crossweave@mozilla.com",
|
|
||||||
"password": "",
|
|
||||||
"passednotificationlist": ["crossweave@mozilla.com"],
|
|
||||||
"notificationlist": ["crossweave@mozilla.com"]
|
|
||||||
},
|
|
||||||
"auth_type": "fx_account",
|
"auth_type": "fx_account",
|
||||||
"es": "localhost:9200",
|
"es": "localhost:9200",
|
||||||
"os": "Ubuntu",
|
"os": "Ubuntu",
|
||||||
|
|
|
@ -425,11 +425,7 @@ class TPSTestRunner(object):
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
|
||||||
if self.numfailed > 0 or self.numpassed == 0:
|
self.writeToResultFile(self.postdata)
|
||||||
To = self.config["email"].get("notificationlist")
|
|
||||||
else:
|
|
||||||
To = self.config["email"].get("passednotificationlist")
|
|
||||||
self.writeToResultFile(self.postdata, sendTo=To)
|
|
||||||
except Exception:
|
except Exception:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
try:
|
try:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче