Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1031)

Unified Diff: runtime/observatory/tests/service/get_allocation_profile_rpc_test.dart

Issue 2378813002: Use a larger sleep time in get_allocation_profile_rpc_test so that the test doesn't flake on Windows (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/get_allocation_profile_rpc_test.dart
diff --git a/runtime/observatory/tests/service/get_allocation_profile_rpc_test.dart b/runtime/observatory/tests/service/get_allocation_profile_rpc_test.dart
index 2af7ffec62c90e14b27c340a3f33d7cfbace069a..6d7b8fd45e520143156770a3b7efa4f7f7d8bdff 100644
--- a/runtime/observatory/tests/service/get_allocation_profile_rpc_test.dart
+++ b/runtime/observatory/tests/service/get_allocation_profile_rpc_test.dart
@@ -46,7 +46,7 @@ var tests = [
expect(result['members'].length, isPositive);
expect(result['members'][0]['type'], equals('ClassHeapStats'));
- await sleep(10);
+ await sleep(1000);
result = await isolate.invokeRpcNoUpgrade('_getAllocationProfile', params);
var secondReset = result['dateLastAccumulatorReset'];
@@ -67,7 +67,7 @@ var tests = [
expect(result['members'].length, isPositive);
expect(result['members'][0]['type'], equals('ClassHeapStats'));
- await sleep(10);
+ await sleep(1000);
result = await isolate.invokeRpcNoUpgrade('_getAllocationProfile', params);
var secondGC = result['dateLastAccumulatorReset'];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698