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

Unified Diff: third_party/sqlite/src/test/memsubsys2.test

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « third_party/sqlite/src/test/memsubsys1.test ('k') | third_party/sqlite/src/test/misc1.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/memsubsys2.test
diff --git a/third_party/sqlite/src/test/memsubsys2.test b/third_party/sqlite/src/test/memsubsys2.test
index a40f4e4f03d44b518288725eac8767cc868619c6..68e4e22d323c85e028510732f39c1494920f9608 100644
--- a/third_party/sqlite/src/test/memsubsys2.test
+++ b/third_party/sqlite/src/test/memsubsys2.test
@@ -80,8 +80,11 @@ do_test memsubsys2-2.1 {
sqlite3_free [set x [sqlite3_malloc 100000]]
expr {$x!="0"}
} {1}
-do_test memsubsys2-2.2 {
- expr {[sqlite3_memory_highwater 0]>=[sqlite3_memory_used]+$highwater}
+do_test memsubsys2-2.2.1 {
+ expr {[sqlite3_memory_highwater 0]>=[sqlite3_memory_used]+100000}
+} {1}
+do_test memsubsys2-2.2.2 {
+ expr {[sqlite3_memory_highwater 0]>=$highwater+50000}
} {1}
# Test 3: Verify that turning of memstatus disables the statistics
« no previous file with comments | « third_party/sqlite/src/test/memsubsys1.test ('k') | third_party/sqlite/src/test/misc1.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698