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

Unified Diff: test/cctest/test-mark-compact.cc

Issue 18509002: Relax test constraints from r15439 (Join threads after stopping). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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: test/cctest/test-mark-compact.cc
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc
index 0709704f5e624c70ec535c03ae1a9ced687dc17c..8be72d303a8ad63f989d391c7f146e7226aa23a7 100644
--- a/test/cctest/test-mark-compact.cc
+++ b/test/cctest/test-mark-compact.cc
@@ -581,9 +581,9 @@ intptr_t ShortLivingIsolate() {
TEST(RegressJoinThreadsOnIsolateDeinit) {
- intptr_t first_size = ShortLivingIsolate();
+ intptr_t size_limit = ShortLivingIsolate() * 2;
for (int i = 0; i < 10; i++) {
- CHECK_EQ(first_size, ShortLivingIsolate());
+ CHECK_GT(size_limit, ShortLivingIsolate());
}
}
« 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