mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
test: update trace events test expectations
V8 9.2 doesn't emit the "V8.ScriptCompiler" event anymore. Use "V8.GCScavenger" instead. Backport-PR-URL: https://github.com/nodejs/node/pull/39470 PR-URL: https://github.com/nodejs/node/pull/38990 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
b230ac12d9
commit
bbcd651cfd
|
|
@ -27,7 +27,7 @@ proc.once('exit', common.mustCall(() => {
|
|||
return false;
|
||||
if (trace.cat !== 'v8')
|
||||
return false;
|
||||
if (trace.name !== 'V8.ScriptCompiler')
|
||||
if (trace.name !== 'V8.GCScavenger')
|
||||
return false;
|
||||
return true;
|
||||
}));
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ proc.once('exit', common.mustCall(() => {
|
|||
return false;
|
||||
if (trace.cat !== 'v8')
|
||||
return false;
|
||||
if (trace.name !== 'V8.ScriptCompiler')
|
||||
if (trace.name !== 'V8.GCScavenger')
|
||||
return false;
|
||||
return true;
|
||||
}));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user