Skip to content

Commit f3536c5

Browse files
derekxu16Commit Queue
authored andcommitted
[VM/Service] Fix get_perfetto_cpu_samples_rpc_test
This test recently flipped back to flaky on vm-linux-debug-ia32. I believe the problem is that calculating `fib(44)` takes a long time on less powerful machines, which can cause enough samples to get collected to fill up the sample buffer and cause data to get overwritten. Issue: #54401 Change-Id: I63b0bdca5b04b066db098c12cfc22845a9b3c9dd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/410781 Reviewed-by: Ben Konyi <[email protected]> Commit-Queue: Derek Xu <[email protected]>
1 parent 808911b commit f3536c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/vm_service/test/get_perfetto_cpu_samples_rpc_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ int fib(n) {
1919

2020
void testeeDo() {
2121
print('Testee doing something.');
22-
fib(44);
22+
fib(21);
2323
print('Testee did something.');
2424
}
2525

0 commit comments

Comments
 (0)