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

Unified Diff: runtime/vm/heap_profiler_test.cc

Issue 10534158: Fix flaky test runtime/vm/heap_profiler_test.cc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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/vm/heap_profiler_test.cc
diff --git a/runtime/vm/heap_profiler_test.cc b/runtime/vm/heap_profiler_test.cc
index e474a9064d024994ab5fcb8d9770f46be78ade6e..c7cf66effafdd9a58732d188d343326b2594d983 100644
--- a/runtime/vm/heap_profiler_test.cc
+++ b/runtime/vm/heap_profiler_test.cc
@@ -97,8 +97,8 @@ TEST_CASE(HeapProfileEmpty) {
uint64_t hi = Read32(&array, &i);
uint64_t lo = Read32(&array, &i);
uint64_t time = (hi << 32) | lo;
- EXPECT_GE(before, time);
- EXPECT_LE(after, time);
+ EXPECT_LE(before, time);
+ EXPECT_GE(after, time);
while (i != array.length()) {
// Check tag
uint8_t tag = Read8(&array, &i);
« 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