зеркало из https://github.com/mozilla/treeherder.git
Adjust BugFiler to include timed out scenarios. r=aryx (#7498)
This commit is contained in:
Родитель
bed01706c7
Коммит
b0378bd6f4
|
@ -160,10 +160,6 @@ export class BugFilerClass extends React.Component {
|
|||
|
||||
const jg = jobGroupName.toLowerCase();
|
||||
if (jg.includes('xpcshell') || jg.includes('mochitest')) {
|
||||
const isTimeout = [/timeout/i, /timed out/].some((regexp) =>
|
||||
regexp.test(summaryString),
|
||||
);
|
||||
|
||||
// simple hack to make sure we have a testcase in the summary
|
||||
const isTestPath = [
|
||||
/.*test_.*.js/, // xpcshell
|
||||
|
@ -173,8 +169,8 @@ export class BugFilerClass extends React.Component {
|
|||
/.*browser_.*.js/, // b-c
|
||||
].some((regexp) => regexp.test(summaryString));
|
||||
|
||||
// If not crash|leak|timeout
|
||||
if (!crash && !isAssertion && !isTimeout && isTestPath) {
|
||||
// If not crash|leak
|
||||
if (!crash && !isAssertion && isTestPath) {
|
||||
const parts = summaryString.split(' | ');
|
||||
if (parts.length === 2 || parts.length === 1) {
|
||||
summaryString = `${parts[0]} | single tracking bug`;
|
||||
|
|
Загрузка…
Ссылка в новой задаче