Skip to content

Commit f6966cd

Browse files
committed
test: update tick processor's function label
Match the JS: prefix that V8 has emitted for JavaScript functions since 6bd756d. The LazyCompile expectation caused the test to time out when profiling succeeded without UNKNOWN samples. Assisted-by: Codex Signed-off-by: Tamir Duberstein <tamird@gmail.com>
1 parent df2ea49 commit f6966cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/tick-processor/test-tick-processor-unknown.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const base = require('./tick-processor-base.js');
1414
// Unknown checked for to prevent flakiness, if pattern is not found,
1515
// then a large number of unknown ticks should be present
1616
base.runTest({
17-
pattern: /LazyCompile.*\[eval]:1|.*% {2}UNKNOWN/,
17+
pattern: /JS:.*\[eval]:1|.*% {2}UNKNOWN/,
1818
code: `function f() {
1919
for (let i = 0; i < 1000000; i++) {
2020
i++;

0 commit comments

Comments
 (0)