2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 22:15:23 +00:00
Commit Graph

9621 Commits

Author SHA1 Message Date
JINMEI Tatuya
e663cfecd5 [master] Merge branch 'trac1788' 2012-04-05 01:20:18 -07:00
JINMEI Tatuya
efb79bb638 [1788] removed the default for 'filetype' from the spec file.
for optional items setting the default doesn't make sense, but we also have
test cases where syntax validation is skipped, so changing it to non-optional
will break existing test cases.  at least for now, it seems to make most sense
to keep it optional and define the default within the parser code.
2012-04-05 09:53:36 +02:00
JINMEI Tatuya
2645b19434 [1788] used a simpler version of validateConfig() (not taking 'errors' list).
in this test we are only interested in the specific config is valid or not,
so we didn't need the 'errors'. (actually I didn't notice there was this
version of validateConfig() previously).
2012-04-05 09:53:32 +02:00
JINMEI Tatuya
00bc99c5a2 [1788] reject in-memory file types other than "text" for now. 2012-04-05 09:53:25 +02:00
JINMEI Tatuya
f48ddb1460 [1791] first implementation of in-memory load() from another data source.
It simply inserts each RRset from the iterator to the internal in-memory
tree.  still passed basic tests, but incomplete at this moment.
2012-04-05 00:24:47 -07:00
JINMEI Tatuya
cf16578b3e [1791] initial refactoring: extracted createSQLite3Client so it can be shared.
the plan is to use it in in-memory tests for this branch.  No functional change
or add/delete test cases yet.
2012-04-04 21:40:25 -07:00
Naoki Kambe
92cc4a7b43 [1852] Add a regression test for checking StatsHttpd is no longer registered in Cfgmgr after its unexpected shutdown 2012-04-05 13:10:45 +09:00
Naoki Kambe
ed1f3349ee [1852] When opening a HTTP socket is unexpectedly failed due to a socket error e.g. Address already in use, it explicitly closes the CC Session already opened before it shuts down. 2012-04-05 13:10:23 +09:00
JINMEI Tatuya
635e3dae01 [master] changelog for #1773 2012-04-04 15:30:12 -07:00
JINMEI Tatuya
ceaa247d89 [master] Merge branch 'trac1773new' 2012-04-04 15:28:29 -07:00
JINMEI Tatuya
dddc267e55 [master] Revert "[master] Merge branch 'trac1773'"
This was an older version of the branch, and wasn't expected to be a
merge target.  I'll revert it and then merge the right branch.
2012-04-04 15:27:21 -07:00
JINMEI Tatuya
d5e250eff9 [master] Merge branch 'trac1773' 2012-04-04 15:09:19 -07:00
JINMEI Tatuya
923c859c0f [master] Merge branch 'trac1820' 2012-04-04 14:43:57 -07:00
JINMEI Tatuya
7f72027665 [master] changelog for #324 2012-04-04 14:41:53 -07:00
JINMEI Tatuya
8644866497 [master] Merge branch 'trac324new2' with fixing conflict for
src/lib/python/isc/notify/tests/testdata/test.sqlite3
2012-04-04 14:38:14 -07:00
JINMEI Tatuya
36ec15a272 [1788] more test, syntax cleanup
- added one test case for checking the new "filetype" item is optional.
- also added a test in MemoryDatasrcConfigTest to see whether "filetype" is
  accepted.
- others should be trivial editorial cleanup.
2012-04-04 10:00:06 -07:00
Jelte Jansen
c30d4ccd7f [1757] use explicit +noedns in lettuce dig calls 2012-04-04 15:36:11 +02:00
Jelte Jansen
8a33648413 [1845] only do rollbackFailure test for older sqlite3 lib
test is a noop for versions 3007011+
2012-04-04 14:43:34 +02:00
Mukund Sivaraman
49c83cc4d3 [master] Update .gitignore files 2012-04-04 17:18:35 +05:30
JINMEI Tatuya
f4489fa39c [1788] extended auth.spec so an inmemory zone has an optional filetype item.
also added a new set of unittests that verify the new spec syntax.
2012-04-03 20:47:35 -07:00
JINMEI Tatuya
350e65820e [1820] removed constructors concrete DNSServer classes with addre+port.
This is part of the cleanup.  as we removed the corresponding
interface at DNSService, no one now uses these constructors.
2012-04-03 16:38:53 -07:00
JINMEI Tatuya
8ae80ada66 [master] make sure a large int constant is unsigned.
this will fix build failure on some systems
2012-04-03 16:12:05 -07:00
JINMEI Tatuya
fe9349ae3a [1773] missing initialization 2012-04-03 14:51:35 -07:00
JINMEI Tatuya
d9ede029ea [master] Merge branch 'trac1746' 2012-04-03 14:39:06 -07:00
JINMEI Tatuya
16b92d014e [324] make sure the temporary DB file for zonemgr test is always cleaned up. 2012-04-03 14:30:38 -07:00
Mukund Sivaraman
365b5c443a [1220] Add testcase which checks use of trailing slashes with indices
Trailing slashes are supposed to work. It should not result in an error
like this:

  > config show Resolver/listen_on
  Resolver/listen_on[0]/address   "::1"   string
  Resolver/listen_on[0]/port      53      integer
  > config show Resolver/listen_on/
  Error: Resolver/listen_on/[0]/address not found

Bug #1220 was fixed as a part of bug #1649 (see commit
b31b7eff36). We just add another testcase
for bug #1220.
2012-04-03 19:11:26 +05:30
Jelte Jansen
fa6a9dbe36 [master] update changelog for merge of 1626
JSON parser improvements
2012-04-03 11:09:47 +02:00
Jelte Jansen
3b09268518 [master] Merge branch 'trac1626' 2012-04-03 10:39:58 +02:00
Michal 'vorner' Vaner
daf2b85fc2 Changelog for #1715 2012-04-03 10:10:48 +02:00
Michal 'vorner' Vaner
098da24ddd Merge #1715
Crash of bindctl when the config unset command was invoked. The code of
the command was missing, probably never implemented and obviously never
tested.
2012-04-03 09:50:55 +02:00
JINMEI Tatuya
69e76e0edb [1746] removed SQLite3Accessor::getRecordDiff, and adjusted the test as such.
it was intended to be a short term hack until we implement getDiffs(),
but apparently we forgot to complete the cleanup task.  So this is just an
originally planned cleanup.
note that there was a bug in the test code.  The change to diff_add_a_data
is not to hide a problem in the tested code, but it's a fix to the test's bug.
2012-04-02 23:41:55 -07:00
JINMEI Tatuya
9e77d650e3 [1820] use the ScopedSocket wrapper throughout the code for more safety. 2012-04-02 18:13:48 -07:00
JINMEI Tatuya
1eb1ca43bb [1820] avoid using the removed DNSService interfaces.
also made other cleanups, making it the code more exception safe.
2012-04-02 18:05:27 -07:00
JINMEI Tatuya
a3f1538ebc [1820] removed DNSService::addServer() as they were mostly unused.
Likewise, some of the constructors of DNSService were removed too.
the test code specific to the removed interfaces were also removed.
2012-04-02 18:01:18 -07:00
JINMEI Tatuya
297646b5cd [master] indentation fix. 2012-04-02 15:28:43 -07:00
JINMEI Tatuya
cc73f7e20f [1773] comment updates due to interface changes as part of fix. 2012-04-02 15:17:38 -07:00
JINMEI Tatuya
1c45a4e0bc [1773new] [1773] initial fix for clang++/Lion build failure 2012-04-02 14:57:33 -07:00
JINMEI Tatuya
80c297d9ae [1773] initial fix for clang++/Lion build failure 2012-04-02 14:35:11 -07:00
JINMEI Tatuya
7a74c2d58e [master] Merge branch 'trac1535' 2012-04-02 13:38:28 -07:00
JINMEI Tatuya
bbe403303f [1535] Merge branch 'trac1535' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac1535 2012-04-02 13:31:10 -07:00
JINMEI Tatuya
698534e556 [324] use a much larger major version (1000) for "newschema" test DBs.
it will reduce the risk of getting conflict soon due to schema updates.
2012-04-02 11:17:54 -07:00
JINMEI Tatuya
947f08c755 [324new2] renamed major/minor version variables so they are more consistent. 2012-04-02 11:13:21 -07:00
JINMEI Tatuya
4df83ec7d1 [324] make sure initial SQLite3 DB creation is exception safe.
this is not really an issue of this task, and I believe we should soon stop
creating the schema in the accessor context in the first place, but the bug
is real so I fixed it anyway.  Assuming this creation code and the older
version of implementation will be gone soon, I simply duplicated the mostly
same code in both old and new implementations.

Also, it seemed extremely difficult (I'd say it's effectively impossible) to
test these cases.  I couldn't come up with any reasonable way to test them,
so I didn't add any test.
2012-04-02 11:07:50 -07:00
Jelte Jansen
9ee14145b2 [1626] move some more json tests around 2012-04-02 15:36:04 +02:00
Jelte Jansen
6e57b76919 [1626] use one list of 'whitespace' chars
and even more tests

Moved a couple of 'basic' tests out of 'escape' and to 'to_and_from_string' test
2012-04-02 15:16:27 +02:00
Mukund Sivaraman
a29f99f27d [1626] Add more testcases 2012-04-02 17:23:09 +05:30
Jelte Jansen
7733a51887 [master] update changelog for merge of #1535 2012-04-02 12:47:21 +02:00
Jelte Jansen
66300a3c47 [master] Merge branch 'trac1535' 2012-04-02 11:45:16 +02:00
Jelte Jansen
952cb2ceeb [1535] use OutOfZone instead of InvalidParameter in findNSEC3() 2012-04-02 11:44:42 +02:00
Jelte Jansen
318ecd4e65 [1626] check string termination and whitespace fix
whitespace 'outside' of elements is skipped, now including \r and \b
2012-04-02 10:50:26 +02:00