Skip to content

Commit bbcd651

Browse files
targosBethGriggs
authored andcommitted
test: update trace events test expectations
V8 9.2 doesn't emit the "V8.ScriptCompiler" event anymore. Use "V8.GCScavenger" instead. Backport-PR-URL: #39470 PR-URL: #38990 Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent b230ac1 commit bbcd651

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/parallel/test-trace-events-all.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ proc.once('exit', common.mustCall(() => {
2727
return false;
2828
if (trace.cat !== 'v8')
2929
return false;
30-
if (trace.name !== 'V8.ScriptCompiler')
30+
if (trace.name !== 'V8.GCScavenger')
3131
return false;
3232
return true;
3333
}));

test/parallel/test-trace-events-v8.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ proc.once('exit', common.mustCall(() => {
2929
return false;
3030
if (trace.cat !== 'v8')
3131
return false;
32-
if (trace.name !== 'V8.ScriptCompiler')
32+
if (trace.name !== 'V8.GCScavenger')
3333
return false;
3434
return true;
3535
}));

0 commit comments

Comments
 (0)