BIND 10 trac1331, updated. e9e0f96594eec741393fa197c1d91362c96109e1 [1331] Forgotten test update
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Nov 15 10:04:44 UTC 2011
The branch, trac1331 has been updated
via e9e0f96594eec741393fa197c1d91362c96109e1 (commit)
via 96e0aa96b5a2fd31833e9afe64bb8e4cc34e23c5 (commit)
from 43de15e4b0bd0094910ecc4f4365744cb6c1eeab (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e9e0f96594eec741393fa197c1d91362c96109e1
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Tue Nov 15 10:58:57 2011 +0100
[1331] Forgotten test update
The exception was changed, so must be the test.
commit 96e0aa96b5a2fd31833e9afe64bb8e4cc34e23c5
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Tue Nov 15 10:57:38 2011 +0100
[1331] Stricter requirement
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/tests/database_unittest.cc | 2 +-
src/lib/datasrc/zone.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/database_unittest.cc b/src/lib/datasrc/tests/database_unittest.cc
index a384a41..2c967a8 100644
--- a/src/lib/datasrc/tests/database_unittest.cc
+++ b/src/lib/datasrc/tests/database_unittest.cc
@@ -2832,7 +2832,7 @@ TEST_F(MockDatabaseClientTest, journalBadSequence) {
// So far OK
EXPECT_NO_THROW(updater_->deleteRRset(*soa_));
// Commit at the wrong time
- EXPECT_THROW(updater_->commit(), isc::Unexpected);
+ EXPECT_THROW(updater_->commit(), isc::BadValue);
current_accessor_->checkJournal(expected);
}
diff --git a/src/lib/datasrc/zone.h b/src/lib/datasrc/zone.h
index 94a95e1..f824636 100644
--- a/src/lib/datasrc/zone.h
+++ b/src/lib/datasrc/zone.h
@@ -438,7 +438,7 @@ public:
/// calls after \c commit() the implementation must throw a
/// \c DataSourceError exception.
///
- /// If journaling was requested when getting this updater, it might reject
+ /// If journaling was requested when getting this updater, it will reject
/// to add the RRset if the squence doesn't look like and IXFR (see
/// DataSourceClient::getUpdater). In such case isc::BadValue is thrown.
///
@@ -509,7 +509,7 @@ public:
/// calls after \c commit() the implementation must throw a
/// \c DataSourceError exception.
///
- /// If journaling was requested when getting this updater, it might reject
+ /// If journaling was requested when getting this updater, it will reject
/// to add the RRset if the squence doesn't look like and IXFR (see
/// DataSourceClient::getUpdater). In such case isc::BadValue is thrown.
///
More information about the bind10-changes
mailing list