Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
2c565f3b
Commit
2c565f3b
authored
Dec 13, 2012
by
Jelte Jansen
Browse files
[2541] Roll back in unit test before checking result
parent
57ad1188
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/tests/sqlite3_accessor_unittest.cc
View file @
2c565f3b
...
...
@@ -1610,10 +1610,9 @@ TEST_F(SQLite3Update, addZoneWhileLocked) {
// Commit should do nothing, but not fail
another_accessor
->
commit
();
accessor
->
rollback
();
// New zone should not exist
EXPECT_FALSE
(
accessor
->
getZone
(
new_zone
).
first
);
accessor
->
rollback
();
}
}
// end anonymous namespace
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment