]>
git.ipfire.org Git - thirdparty/kea.git/log
JINMEI Tatuya [Wed, 8 May 2013 07:16:11 +0000 (00:16 -0700)]
[2823-regression] shutdown MyStatsHttpd running on a separate thread
the dangling threads do not necessarily do harm (test failure, etc),
but show confusing behaviors such as leaked exception. explicit shutdown
should prevent these (for a longer term, we should really stop using threads
for the http-handler tests)
Paul Selkirk [Wed, 8 May 2013 04:35:22 +0000 (00:35 -0400)]
[2522] TSIG algorigthm can be a reference, maybe a bit more efficient
Paul Selkirk [Wed, 8 May 2013 03:58:42 +0000 (23:58 -0400)]
[2522] convert TSIG string constructor tests to checkFromText
JINMEI Tatuya [Wed, 8 May 2013 03:43:17 +0000 (20:43 -0700)]
[master] use AF_UNIX socket.socket object instead of socket.socketpair()[0]
for "dummy" socket. in python3.1 the latter is of _socket.socket, which
breaks the assumption of a test.
okayed on bind10-dev.
Paul Selkirk [Wed, 8 May 2013 02:13:22 +0000 (22:13 -0400)]
[2522] more TSIG unit tests
Paul Selkirk [Tue, 7 May 2013 22:12:00 +0000 (18:12 -0400)]
[2521] add 0-length check to DHCID from-wire constructor
JINMEI Tatuya [Tue, 7 May 2013 20:42:40 +0000 (13:42 -0700)]
[2851] untabify
JINMEI Tatuya [Tue, 7 May 2013 20:32:05 +0000 (13:32 -0700)]
[master] tweak TestOSEnv just like stats-httpd_test to suppress log leak
also renamed the stats-httpd_test counterpart; it seemed to be tenntatively
named and left unchanged, so doesn't really make sense for what it does.
these should be trivial, so I'm committing this at my discretion.
JINMEI Tatuya [Tue, 7 May 2013 20:25:37 +0000 (13:25 -0700)]
[master] Merge branch 'trac2823'
JINMEI Tatuya [Tue, 7 May 2013 20:21:51 +0000 (13:21 -0700)]
[2850] style cleanups: spacing, combining short lines
Paul Selkirk [Tue, 7 May 2013 19:59:29 +0000 (15:59 -0400)]
[2522] add MasterLexer constructor for TSIG
Tomek Mrugalski [Tue, 7 May 2013 17:46:57 +0000 (19:46 +0200)]
[2898] First set of changes after review
Paul Selkirk [Tue, 7 May 2013 17:16:17 +0000 (13:16 -0400)]
[2522] fix RP unit test
Paul Selkirk [Tue, 7 May 2013 17:08:27 +0000 (13:08 -0400)]
[2522] more MINFO unit tests
JINMEI Tatuya [Tue, 7 May 2013 16:50:00 +0000 (09:50 -0700)]
[2850] minor style cleanups: constify and brace position
Michal 'vorner' Vaner [Tue, 7 May 2013 13:28:36 +0000 (15:28 +0200)]
[2823] Don't use private prefix in local scope
For one, it makes no sense (it won't be visible from outside the
function anyway), for another, it didn't work, because it was called
from different scope (inside the FailingStatsHttpd class) and mangling
the name wrongly.
Thomas Markwalder [Tue, 7 May 2013 13:22:02 +0000 (09:22 -0400)]
[2355] Added logic to bypass large value test for Uint32BitParser on 32-bit
platforms.
JINMEI Tatuya [Tue, 7 May 2013 06:03:40 +0000 (23:03 -0700)]
[2850] unrelated cleanup: make some test methods non public when possible
also clarify TearDown is inherited by explicitly adding 'virtual'.
Naoki Kambe [Tue, 7 May 2013 01:53:50 +0000 (10:53 +0900)]
[master] changelog for #2252
Naoki Kambe [Tue, 7 May 2013 01:48:55 +0000 (10:48 +0900)]
[master] Merge branch 'trac2252'
Naoki Kambe [Tue, 7 May 2013 00:47:56 +0000 (09:47 +0900)]
[2252] wording cleanups, and omission of the repeated same notes
(The original patch is proposed by Jinmei-san.)
JINMEI Tatuya [Tue, 7 May 2013 00:27:01 +0000 (17:27 -0700)]
[2850] style cleanup: added () for returned values
JINMEI Tatuya [Mon, 6 May 2013 23:22:21 +0000 (16:22 -0700)]
[2823] updated test_init_hterr so it also checks close_mccs is called.
JINMEI Tatuya [Mon, 6 May 2013 22:57:09 +0000 (15:57 -0700)]
[2823] use assertIs(Not)None wherever possible
JINMEI Tatuya [Mon, 6 May 2013 22:53:54 +0000 (15:53 -0700)]
[2823] clarify the purpose of mock auth statistics spec and data
Thomas Markwalder [Mon, 6 May 2013 20:29:57 +0000 (16:29 -0400)]
[2355] CfgMgr.addOptionDefs unit test was failing with duplicat definition
exception under Ubuntu. Added logic to reset all of CfgMgr data between tests. Did not fail under Mac OS-X. New unit tests added for options definition tests were leaving data in CfgMgr.
Paul Selkirk [Mon, 6 May 2013 18:55:30 +0000 (14:55 -0400)]
[2521] remove an unused Rdata_DHCID_Test method
Paul Selkirk [Mon, 6 May 2013 18:50:35 +0000 (14:50 -0400)]
[2521] better way of handling empty DHCID RDATA
Paul Selkirk [Mon, 6 May 2013 18:36:11 +0000 (14:36 -0400)]
[2521] RRSIG signer can be a reference, maybe a bit more efficient
Paul Selkirk [Mon, 6 May 2013 18:27:56 +0000 (14:27 -0400)]
[2521] DHCDID RDATA cannot be empty
JINMEI Tatuya [Mon, 6 May 2013 17:56:27 +0000 (10:56 -0700)]
[2823] avoid hardcoded constant test time data to be compared with local time
it would only pass at the same time zone as that of the original developer.
JINMEI Tatuya [Mon, 6 May 2013 17:45:08 +0000 (10:45 -0700)]
[2823] removed a bogus return at the top of a test case
it was a leftover from an intermediate attempt; the test should pass
without it.
Thomas Markwalder [Mon, 6 May 2013 15:45:27 +0000 (11:45 -0400)]
[2355] Minor changes in response to review comments.
Paul Selkirk [Mon, 6 May 2013 14:30:04 +0000 (10:30 -0400)]
[2522] add MasterLexer constructor for MINFO
Paul Selkirk [Mon, 6 May 2013 14:28:55 +0000 (10:28 -0400)]
[2522] normalize some RP documentation comments
Naoki Kambe [Mon, 6 May 2013 11:30:29 +0000 (20:30 +0900)]
[2252] .Xfrout.socket.unixdomain.open is either expected to be 0 or 1, and add notes
Naoki Kambe [Mon, 6 May 2013 10:56:30 +0000 (19:56 +0900)]
[2252] revert poll-interval to the default value
Mukund Sivaraman [Mon, 6 May 2013 08:24:40 +0000 (13:54 +0530)]
[2850] Add corruption tests
Mukund Sivaraman [Mon, 6 May 2013 08:24:22 +0000 (13:54 +0530)]
[2850] Add a sync() method and make reset() and the destructor call it
This is so that checksums and such are synchronized.
Mukund Sivaraman [Mon, 6 May 2013 08:23:09 +0000 (13:53 +0530)]
[2850] Unify code
Mukund Sivaraman [Mon, 6 May 2013 08:22:52 +0000 (13:52 +0530)]
[2850] Fix type of checksum
Mukund Sivaraman [Mon, 6 May 2013 07:14:06 +0000 (12:44 +0530)]
[2850] Fix ZoneTableSegmentMappedTest.resetBadConfig test
Mukund Sivaraman [Mon, 6 May 2013 06:42:59 +0000 (12:12 +0530)]
[2850] Add tests for the various open modes
Mukund Sivaraman [Mon, 6 May 2013 06:07:14 +0000 (11:37 +0530)]
[2850] Constify getNamedAddress()
Mukund Sivaraman [Mon, 6 May 2013 05:47:17 +0000 (11:17 +0530)]
[2850] Add a way to pass a seed to the random number generator
Mukund Sivaraman [Mon, 6 May 2013 05:44:04 +0000 (11:14 +0530)]
[2850] Make minor coding style fixes
Mukund Sivaraman [Mon, 6 May 2013 05:43:33 +0000 (11:13 +0530)]
[2850] Include dependency header in random_number_generator.h itself
Mukund Sivaraman [Mon, 6 May 2013 05:42:07 +0000 (11:12 +0530)]
[2850] Make a minor comment update
Mukund Sivaraman [Mon, 6 May 2013 04:45:03 +0000 (10:15 +0530)]
[2850] Don't use the term "load" when describing what reset() does
Mukund Sivaraman [Mon, 6 May 2013 04:40:05 +0000 (10:10 +0530)]
[2850] Update comment to match code
Paul Selkirk [Sat, 4 May 2013 23:25:30 +0000 (19:25 -0400)]
[2522] add MasterLexer constructor for RP
JINMEI Tatuya [Sat, 4 May 2013 05:57:24 +0000 (22:57 -0700)]
[2851] add datasrc_name optional parameter to getCachedZoneWriter
so we can specify a particular data source for loading
JINMEI Tatuya [Sat, 4 May 2013 05:59:40 +0000 (22:59 -0700)]
[2851] disable tests relying on mapped segment if --without-shared-memory
JINMEI Tatuya [Fri, 3 May 2013 04:11:25 +0000 (21:11 -0700)]
[2851] document update for getCachedZoneWriter() to match the latest behavior.
JINMEI Tatuya [Fri, 3 May 2013 03:58:20 +0000 (20:58 -0700)]
[2851] avoid loading/reloading read only cache
JINMEI Tatuya [Thu, 2 May 2013 22:14:32 +0000 (15:14 -0700)]
[2851] update getCachedZoneWriter so it only checks config and real datasrc.
- it now still create the zone writer even if the zone is currently not
loaded (due to initial failure). the original behavior is mostly preserved,
but in some minor cases the resulting error code (or whether to throw)
differ. test cases were adjusted accordingly.
- some description of CacheStatus now does not perfectly match the behavior,
so are updated.
JINMEI Tatuya [Thu, 2 May 2013 19:22:03 +0000 (12:22 -0700)]
[2851] don't make datasrc configure() fail in case of "NoSuchZone".
that should be more consistent with the case of missing zone file for
the MasterFiles data source. and, it will be consistent with later
changes in this branch.
JINMEI Tatuya [Thu, 2 May 2013 17:41:50 +0000 (10:41 -0700)]
[2851] another cleanup: introduce NoSuchZone exception based on DataSourceError
getIterator now throws NoSuchZone if the given zone doesn't exist.
this is another step of detailing the too-generic DataSourceError, and
while not absolutely necessary, it's still related to the subject of
this branch.
JINMEI Tatuya [Wed, 1 May 2013 22:54:59 +0000 (15:54 -0700)]
[2851] additional cleanup: rename ReloadResult "CacheStatus"
as we don't use the term "reload" anymore.
JINMEI Tatuya [Wed, 1 May 2013 22:21:54 +0000 (15:21 -0700)]
[2851] cleanup: completely deprecate ConfigurableClientList::reload().
it's been unused for quite some test (except in its own tests), and at this
point I think its existence would just confusion and it's time to clean it
up completely.
JINMEI Tatuya [Sat, 4 May 2013 06:37:59 +0000 (23:37 -0700)]
[2851] Merge branch 'trac2850' into trac2851
JINMEI Tatuya [Fri, 3 May 2013 23:54:00 +0000 (16:54 -0700)]
[2521] minor simplification: initialize mem var in the list when possible.
not a big deal in this case, but it's more concise.
JINMEI Tatuya [Fri, 3 May 2013 23:43:26 +0000 (16:43 -0700)]
[2521] a minor style nit: adjusted a '*' position per style guideline.
JINMEI Tatuya [Fri, 3 May 2013 21:24:10 +0000 (21:24 +0000)]
[master] include stdlib.h instead of cstlib; for random(3) we need the former.
Thomas Markwalder [Fri, 3 May 2013 17:12:18 +0000 (13:12 -0400)]
[2355]Created new template class ValueParser<> which implements
a simple-type parser. Replaces individual class definitions
for BooleanParser, Uint32Parser, and StringParser. Base class
uses new ValueStore<> storage template class.
JINMEI Tatuya [Fri, 3 May 2013 14:59:34 +0000 (07:59 -0700)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Thomas Markwalder [Fri, 3 May 2013 14:32:39 +0000 (10:32 -0400)]
[2355] Removed element type checking from StringParser::build. This broke
a unit test in DHCP4, and it appears we rely on being able to set a string
configuration value from any element type.
Mukund Sivaraman [Fri, 3 May 2013 13:14:25 +0000 (18:44 +0530)]
[2850] Add a comment
Mukund Sivaraman [Fri, 3 May 2013 10:34:03 +0000 (16:04 +0530)]
[2850] Implement the strong exception guarantee
Mukund Sivaraman [Fri, 3 May 2013 10:12:58 +0000 (15:42 +0530)]
[2850] Handle the case where setNamedAddress() may invalidate the passed address
This doesn't handle the issue at a higher level yet.
Mukund Sivaraman [Fri, 3 May 2013 09:48:30 +0000 (15:18 +0530)]
[2850] Add different exception definitions for the kind of exceptions reset() may throw
Mukund Sivaraman [Fri, 3 May 2013 09:31:35 +0000 (15:01 +0530)]
[2850] Add the ZoneTableSegment::clear() method
Mukund Sivaraman [Fri, 3 May 2013 08:43:49 +0000 (14:13 +0530)]
[2850] Unify checksum and header processing code
Michal 'vorner' Vaner [Fri, 3 May 2013 08:28:43 +0000 (10:28 +0200)]
[2836] Retry addition on segment grow
If the segment grows during the addition of some data, update the
pointer for the zone data and retry the addition. Repeat until it
succeeds (it is possible, at least in theory, there'll be more segment
growths during single addition, one for the tree structure and one for
the actual data).
Michal 'vorner' Vaner [Fri, 3 May 2013 08:26:41 +0000 (10:26 +0200)]
[2836] Don't store the zone_data pointer in tests
As it is possible the pointer might change from time to time, it is
impossible to cache it in the tests. Instead provide access for the
tests inside the updater, to get to the pointer there and use that.
JINMEI Tatuya [Fri, 3 May 2013 08:02:41 +0000 (01:02 -0700)]
[master] use a wrapper for boost::function to work around sunstudio build issue
it can't handle it if we pass a function object directly to asio function
(also templated). okayed on jabber.
Michal 'vorner' Vaner [Fri, 3 May 2013 07:57:22 +0000 (09:57 +0200)]
Merge branch 'master' of git+ssh://git.bind10.isc.org/var/bind10/git/bind10
Michal 'vorner' Vaner [Fri, 3 May 2013 07:53:07 +0000 (09:53 +0200)]
Don't rely on friends
Fix compilation on SunStudio. Avoid relying on combination of friend
declaration and nested class, which SunStudio gets wrong as it's quite
complex.
Mukund Sivaraman [Fri, 3 May 2013 07:36:05 +0000 (13:06 +0530)]
[2850] Indent correctly
JINMEI Tatuya [Fri, 3 May 2013 07:26:35 +0000 (07:26 +0000)]
[master] define a wrapper object to pass to io_service::post explicitly.
depending on the version of boost and sunstudio, passing a temporary still
doesn't seem to work.
JINMEI Tatuya [Fri, 3 May 2013 07:05:44 +0000 (00:05 -0700)]
[master] use a wrapper for passing boost::function to io_service::post()
this works as a workaround for a build failure with SunStudio.
Mukund Sivaraman [Fri, 3 May 2013 06:39:01 +0000 (12:09 +0530)]
[2850] Split large switch block into methods
Mukund Sivaraman [Fri, 3 May 2013 02:54:06 +0000 (08:24 +0530)]
[2850] Build ZoneTableSegmentMapped only where shared memory support is enabled
Mukund Sivaraman [Fri, 3 May 2013 01:48:31 +0000 (07:18 +0530)]
[2850] Comment the newly introduced constants
Mukund Sivaraman [Fri, 3 May 2013 01:42:45 +0000 (07:12 +0530)]
[2850] Avoid hardcoding magic keywords, and use constants instead
Mukund Sivaraman [Fri, 3 May 2013 01:36:16 +0000 (07:06 +0530)]
[2850] Add test for empty params argument to reset()
Mukund Sivaraman [Fri, 3 May 2013 01:32:36 +0000 (07:02 +0530)]
[2850] Don't declare a global static std::string object to avoid init fiasco
Mukund Sivaraman [Fri, 3 May 2013 01:29:38 +0000 (06:59 +0530)]
[2850] Remove TearDown() method from ZoneTableSegmentMappedTest
Mukund Sivaraman [Fri, 3 May 2013 01:26:41 +0000 (06:56 +0530)]
[2850] Clarify API doc about exceptions in ZoneWriter::cleanup()
Mukund Sivaraman [Fri, 3 May 2013 01:24:29 +0000 (06:54 +0530)]
[2850] Fix ZoneWriter constructor API doc
Mukund Sivaraman [Fri, 3 May 2013 01:20:00 +0000 (06:50 +0530)]
[2850] Throw isc::InvalidOperation instead of isc::Unexpected
Mukund Sivaraman [Fri, 3 May 2013 00:30:19 +0000 (06:00 +0530)]
[2850] Make ZoneTableSegmentLocal::reset() throw NotImplemented exception
Jeremy C. Reed [Fri, 3 May 2013 01:01:24 +0000 (20:01 -0500)]
[master]Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
fix conflict
Jeremy C. Reed [Fri, 3 May 2013 00:58:02 +0000 (19:58 -0500)]
[master] update the master version to today's timestamp
Jeremy C. Reed [Fri, 3 May 2013 00:56:40 +0000 (19:56 -0500)]
[master] remove correct directory for the clean-cpp-coverage target
The directory has been wrong for a long time.
Reviewed via jabber.
Jeremy C. Reed [Fri, 3 May 2013 00:52:30 +0000 (19:52 -0500)]
[master] mention beta2 released date
Jeremy C. Reed [Fri, 3 May 2013 00:51:27 +0000 (19:51 -0500)]
[master] fix typo
Jeremy C. Reed [Fri, 3 May 2013 00:50:31 +0000 (19:50 -0500)]
[master] reorder
used tools/reorder_message_file.py
Mukund Sivaraman [Fri, 3 May 2013 00:34:31 +0000 (06:04 +0530)]
[master] Add ChangeLog entry for #1909
Mukund Sivaraman [Fri, 3 May 2013 00:33:27 +0000 (06:03 +0530)]
Merge branch 'trac1909'