mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05: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:
1 parent
b230ac12d9
commit
bbcd651cfd
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user