Fixed broken check so each origin is only tested once. (#3341)
https://github.com/sitespeedio/sitespeed.io/issues/3313
This commit is contained in:
parent
dc36835a7c
commit
fda7a7969d
|
|
@ -84,6 +84,7 @@ module.exports = {
|
|||
!this.testedOrigins[group] &&
|
||||
(this.options.collect === 'ALL' || this.options.collect === 'ORIGIN')
|
||||
) {
|
||||
this.testedOrigins[group] = true;
|
||||
log.info(`Get CrUx data for domain ${group}`);
|
||||
for (let formFactor of this.formFactors) {
|
||||
originResult.originLoadingExperience[formFactor] = await send.get(
|
||||
|
|
@ -126,7 +127,6 @@ module.exports = {
|
|||
}
|
||||
}
|
||||
queue.postMessage(make('crux.summary', originResult, { group }));
|
||||
this.testedOrigins[group] = true;
|
||||
}
|
||||
|
||||
if (this.options.collect === 'ALL' || this.options.collect === 'URL') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue