Skip to content

Commit 2e238e9

Browse files
derekxu16Commit Queue
authored andcommitted
[VM/Service] Fix profile_period_cli_option_test
I've seen up to 2500 samples get collected when running this test on `vm-linux-debug-ia32` configs. 3000 is still significantly less than 5000, so this CL just changes the `lessThan(2000)` expectation to `lessThan(3000)`. Fixes: #60257 Change-Id: Iea88ec8dab6a3be9ca843bc445a8205730b8f2aa Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/414280 Reviewed-by: Jessy Yameogo <[email protected]> Commit-Queue: Derek Xu <[email protected]>
1 parent 83a16ea commit 2e238e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/vm_service/test/profile_period_cli_option_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final tests = <IsolateTest>[
2121
// ms. So, we confirm that increasing the profile period using the CLI
2222
// option worked by confirming that we received significantly fewer than
2323
// 5000 samples.
24-
expect(cpuSamples.sampleCount, lessThan(2000));
24+
expect(cpuSamples.sampleCount, lessThan(3000));
2525
}
2626
];
2727

0 commit comments

Comments
 (0)