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

Issue 2756843003: [sql] Tests for updates to mmap state. (Closed)

Created:
3 years, 9 months ago by Scott Hess - ex-Googler
Modified:
3 years, 9 months ago
Reviewers:
pavely
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[sql] Tests for updates to mmap state. Histograms indicate a bit more EVENT_MMAP_STATUS_FAILURE_UPDATE and EVENT_MMAP_META_FAILURE_UPDATE than I was hoping for, and I realized that that code was untested. Add some tests for that case. Unfortunately for the histograms, the untested code appears to work. BUG=652359 Review-Url: https://codereview.chromium.org/2756843003 Cr-Commit-Position: refs/heads/master@{#458007} Committed: https://chromium.googlesource.com/chromium/src/+/a7b07acd99ebfd40b319dfd49103081a8c538ec4

Patch Set 1 #

Total comments: 2

Patch Set 2 : CREATE VIEW should match the one in connection.cc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M sql/connection_unittest.cc View 1 2 chunks +15 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
Scott Hess - ex-Googler
Picking from reviewers from: https://codereview.chromium.org/2397753005 you get the token because sync was the primary reason ...
3 years, 9 months ago (2017-03-17 19:15:36 UTC) #4
pavely
lgtm https://codereview.chromium.org/2756843003/diff/1/sql/connection_unittest.cc File sql/connection_unittest.cc (right): https://codereview.chromium.org/2756843003/diff/1/sql/connection_unittest.cc#newcode1607 sql/connection_unittest.cc:1607: ASSERT_TRUE(db().Execute("CREATE VIEW MmapStatus AS SELECT 1")); nit: When ...
3 years, 9 months ago (2017-03-17 23:21:35 UTC) #7
Scott Hess - ex-Googler
CREATE VIEW should match the one in connection.cc.
3 years, 9 months ago (2017-03-19 23:45:31 UTC) #8
Scott Hess - ex-Googler
Thanks! https://codereview.chromium.org/2756843003/diff/1/sql/connection_unittest.cc File sql/connection_unittest.cc (right): https://codereview.chromium.org/2756843003/diff/1/sql/connection_unittest.cc#newcode1607 sql/connection_unittest.cc:1607: ASSERT_TRUE(db().Execute("CREATE VIEW MmapStatus AS SELECT 1")); On 2017/03/17 ...
3 years, 9 months ago (2017-03-19 23:47:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2756843003/20001
3 years, 9 months ago (2017-03-19 23:47:34 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-20 00:00:25 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a7b07acd99ebfd40b319dfd49103...

Powered by Google App Engine
This is Rietveld 408576698