зеркало из https://github.com/mozilla/treeherder.git
Allow for devtools failures to be single tracking bugs (#7436)
This commit is contained in:
Родитель
00607c7981
Коммит
a99ed6d6ff
|
@ -119,6 +119,7 @@ describe('BugFiler', () => {
|
|||
reftestUrl={isReftest(selectedJob) ? reftest : ''}
|
||||
successCallback={successCallback}
|
||||
jobGroupName={selectedJob.job_group_name}
|
||||
jobTypeName={selectedJob.job_type_name}
|
||||
notify={() => {}}
|
||||
/>
|
||||
</Provider>
|
||||
|
@ -136,6 +137,7 @@ describe('BugFiler', () => {
|
|||
reftestUrl={isReftest(selectedJob) ? reftest : ''}
|
||||
successCallback={successCallback}
|
||||
jobGroupName={selectedJob.job_group_name}
|
||||
jobTypeName={selectedJob.job_type_name}
|
||||
notify={() => {}}
|
||||
/>
|
||||
</Provider>
|
||||
|
|
|
@ -112,6 +112,7 @@ export class BugFilerClass extends React.Component {
|
|||
parsedLog,
|
||||
reftestUrl,
|
||||
jobGroupName,
|
||||
jobTypeName,
|
||||
} = props;
|
||||
|
||||
const allFailures = suggestions.map((sugg) =>
|
||||
|
@ -159,9 +160,11 @@ export class BugFilerClass extends React.Component {
|
|||
}
|
||||
|
||||
const jg = jobGroupName.toLowerCase();
|
||||
const jtn = jobTypeName.toLowerCase();
|
||||
if (
|
||||
jg.includes('xpcshell') ||
|
||||
jg.includes('mochitests without e10s or fission') // chrome, a11y, gpu-c
|
||||
jg.includes('mochitests without e10s or fission') || // chrome, a11y, gpu-c
|
||||
jtn.includes('devtools') // devtools
|
||||
) {
|
||||
const isTimeout = [/timeout/i, /timed out/].some((regexp) =>
|
||||
regexp.test(summaryString),
|
||||
|
@ -911,6 +914,7 @@ BugFilerClass.propTypes = {
|
|||
reftestUrl: PropTypes.string.isRequired,
|
||||
successCallback: PropTypes.func.isRequired,
|
||||
jobGroupName: PropTypes.string.isRequired,
|
||||
jobTypeName: PropTypes.string.isRequired,
|
||||
notify: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
|
|
|
@ -273,6 +273,7 @@ class FailureSummaryTab extends React.Component {
|
|||
}
|
||||
successCallback={this.bugFilerCallback}
|
||||
jobGroupName={selectedJob.job_group_name}
|
||||
jobTypeName={selectedJob.job_type_name}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
|
Загрузка…
Ссылка в новой задаче