mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 05:27:55 +00:00
[2541] Roll back in unit test before checking result
This commit is contained in:
parent
57ad118888
commit
2c565f3b83
@ -1610,10 +1610,9 @@ TEST_F(SQLite3Update, addZoneWhileLocked) {
|
|||||||
// Commit should do nothing, but not fail
|
// Commit should do nothing, but not fail
|
||||||
another_accessor->commit();
|
another_accessor->commit();
|
||||||
|
|
||||||
|
accessor->rollback();
|
||||||
// New zone should not exist
|
// New zone should not exist
|
||||||
EXPECT_FALSE(accessor->getZone(new_zone).first);
|
EXPECT_FALSE(accessor->getZone(new_zone).first);
|
||||||
|
|
||||||
accessor->rollback();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // end anonymous namespace
|
} // end anonymous namespace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user