Michal 'vorner' Vaner
fe827c7e47
Merge #2292
2012-10-10 11:59:02 +02:00
Michal 'vorner' Vaner
c6391ad769
[2292] Add a TODO about re-adding tests
...
Planned for merge #2268
2012-10-10 11:58:17 +02:00
Michal 'vorner' Vaner
d78dd497ec
[2292] Clarify test
...
And make it slightly stronger (it now checks something that should be
mostly obvious too, but who knows, with software).
2012-10-09 14:11:25 +02:00
Michal 'vorner' Vaner
3a6ee0d12d
[2292] Pass the old zone back
...
Instead of releasing it directly. While the internal release was more
convenient, it didn't allow for swapping things fast under a mutex and
then spending the time releasing it unlocked.
2012-10-09 14:07:13 +02:00
Michal 'vorner' Vaner
7888a2127d
[2292] Don't pass SegmentObjectHolder
...
It is supposed to be mostly private. Use it internally only.
2012-10-09 13:39:30 +02:00
Mukund Sivaraman
bcf2117983
[master] Set lockfile path for DHCP tests
2012-10-09 10:41:32 +05:30
Mukund Sivaraman
fb5aa58dab
[master] Update .gitignore files
2012-10-09 10:38:12 +05:30
Mukund Sivaraman
5879860e00
[master] Remove empty GNU-style dist files
2012-10-09 10:21:48 +05:30
JINMEI Tatuya
c7ab107ab6
[master] define dbutil_test.sh as noinst_SCRIPTS to auto-regenerate on modify.
...
this will prevent surprising test failure on an incrementally updated dev
tree. okayed on jabber.
2012-10-08 14:12:02 -07:00
JINMEI Tatuya
dd19112777
[master] added changelog for #1870
2012-10-08 14:11:39 -07:00
JINMEI Tatuya
4973e638d3
[master] Merge branch 'trac1870'
2012-10-08 14:02:58 -07:00
JINMEI Tatuya
d41d8af0c7
[master] Merge branch 'trac2203'
2012-10-08 13:57:05 -07:00
JINMEI Tatuya
869d14d705
[2292] minor cleanups: constify, indentation
2012-10-08 11:32:18 -07:00
Mukund Sivaraman
daedcaea54
Merge branch 'trac1899_2'
2012-10-08 22:59:25 +05:30
JINMEI Tatuya
432064bc3e
[master] add std:: for memset(). sunstudio requires this with <cstring>
2012-10-08 16:41:33 +00:00
Jelte Jansen
1ab996e4c5
[master] Merge branch 'trac2275'
2012-10-08 14:53:19 +02:00
Mukund Sivaraman
bf260bbc80
[master] Add libb10-cc.la to tests Makefile.am
2012-10-08 14:42:55 +05:30
Jelte Jansen
f8261d10f1
[master] Merge branch 'trac2278'
2012-10-08 09:57:26 +02:00
Jelte Jansen
7bcaf2b790
[2275] fix strncpy in socketrequestortest
2012-10-08 09:41:11 +02:00
Mukund Sivaraman
f5bd1368b7
[1899] Allow other RRtypes in nsec3 table (for RRSIGs)
...
* The unique constraint on NSEC3 owner per zone is now removed
* NSEC3 RRSIGs are now returned next to their RR set
* Test was adjusted to check for RRSIGs too
2012-10-08 12:36:28 +05:30
Michal 'vorner' Vaner
00d3de1af8
[2292] Update tests
...
They don't need the mutable versions to work, but they used them anyway.
2012-10-07 17:19:12 +02:00
Michal 'vorner' Vaner
73900f62a7
[2292] Re-add version of find removed by accident
...
This one was not mutable, it just took Name as an argument.
2012-10-07 17:18:33 +02:00
Michal 'vorner' Vaner
7a628baa1a
[2292] Drop tests for InMemoryClient::add
...
As the method was removed.
2012-10-07 17:03:18 +02:00
Michal 'vorner' Vaner
915576b6aa
[2292] Remove unused template parameters
...
The domain tree no longer supports the mutable find versions, so we
don't need the template parameters allowing for them.
2012-10-07 16:50:50 +02:00
Michal 'vorner' Vaner
e1b4bf1cb5
[2292] Remove mutable find methods
...
They are currently used in test code only (so we'll need to update the
tests to compile). The real code seams clean now.
2012-10-07 16:38:23 +02:00
Michal 'vorner' Vaner
76243c3ccd
[2292] Remove the setZoneData method
...
Currently, the content of zone is passed to the addZone method. No way
to change it later, but the addZone overwrites the old value if called
again.
This should hopefully allow for removal of mutable find methods from the
tree.
2012-10-07 16:13:56 +02:00
JINMEI Tatuya
44d9dfa8aa
[2203] renamed datasrc_configurator to datasrc_config; it represents it better.
2012-10-05 10:12:42 -07:00
Jelte Jansen
fbc8d38199
[2275] address review comments
2012-10-05 12:10:56 +02:00
JINMEI Tatuya
93e596c474
[master] Merge branch 'trac2284'
2012-10-04 14:33:56 -07:00
JINMEI Tatuya
f037ebb23c
[2284] minor comment update about in-memory finder context's getFinder().
...
with the cleanup in this ticket we can now actually return NULL, but
intermediate status of other #2283 tickets will require non NULL values.
So, it's probably better to keep the behavior with referring to #2283 ,
instead of #2284 .
2012-10-04 14:30:31 -07:00
Jelte Jansen
3a8ea5fd50
[2275] valgrind fixes: uninitialized memory
2012-10-04 16:12:27 +02:00
Jelte Jansen
86b1a2387a
[2275] valgrind fixes: uninitialized memory
2012-10-04 12:21:04 +02:00
Jelte Jansen
1d3b7eabbb
[2275] use const char* for test globals
2012-10-04 11:44:46 +02:00
Mukund Sivaraman
41538b7ce9
Merge branch 'master' into trac2206
2012-10-04 13:43:53 +05:30
Mukund Sivaraman
78dfd7dcd6
[2268] Move both const and non-const checks into a single testcase
2012-10-04 13:15:37 +05:30
JINMEI Tatuya
b1d4ff896a
[2284] reverted the getAtOrigin() framework.
...
Unfortunately it turned out it doesn't work for the originally intended
purpose. See the ticket for details.
2012-10-04 00:30:47 -07:00
JINMEI Tatuya
6b99a39f0a
[2203] forotten cleanup: removed now-unused header file.
2012-10-03 22:58:06 -07:00
Mukund Sivaraman
47c013b000
[2206] Make a common function out of duplicate code
2012-10-04 10:19:35 +05:30
JINMEI Tatuya
c91bffdd00
[2203] a piggy back fix: prevent redundant initial data configuration.
...
this addresses the issue described in #2291 . Still not really clean,
but thanks to boost::bind we can centralize all the code logic in the
callback, so I think it's now less likely that we forget cleaning it up
when the hack is not necessary.
2012-10-03 17:28:41 -07:00
JINMEI Tatuya
ec6cf17e57
[2203] changed configurator class to a simple function.
...
as it's now completely stateless and can work independently.
the common specialization for the main implementation is defined in a
new created .cc file.
2012-10-03 17:17:36 -07:00
JINMEI Tatuya
746376902a
[2203] pass server obj to configurator's reconfigure().
...
now the configurator class is completely stateless.
2012-10-03 15:44:29 -07:00
JINMEI Tatuya
05136b55f9
[2203] refactoring 2nd step: configurator can now be a separate object.
...
i.e., it's not a singleton any more.
testReconfigure() method isn't needed any more because it doesn't hold
CC session internally.
DatasrcConfiguratorTest.initialization test currently fails and is
disabled for now. The plan is to make the class completely stateless,
at which point we don't even have to think about initialization or cleanup,
and then the test will be able to be removed.
2012-10-03 15:24:22 -07:00
JINMEI Tatuya
0d4a6b6be1
[1870] avoid using "no" keyword as a configured value for "bind10-include".
2012-10-03 14:12:39 -07:00
JINMEI Tatuya
686eb4e9ed
[1870] removed unnecessary call to AX_BOOST_INCLUDE.
...
since AC_REQUIRE internally does it.
2012-10-03 12:21:40 -07:00
JINMEI Tatuya
3d68f76773
[2206] editorial fix: combine two short lines
...
(I also suspect it may not work if '\c' continues to the next line.
this change also avoids that)
2012-10-03 10:12:07 -07:00
JINMEI Tatuya
f802291f64
[master] Merge branch 'trac2060'
2012-10-03 09:26:13 -07:00
JINMEI Tatuya
fa51dffbe4
[2060] clarified the ownership of obj returned via getFinder/AllRRsets.
2012-10-03 09:21:16 -07:00
Jelte Jansen
9cfcbb9475
[2275] valgrind fix: initialize memory in labelsequence test
2012-10-03 16:54:08 +02:00
Jelte Jansen
0c38d26f6a
[2275] valgrind fix: store singleton instance in auto_ptr
2012-10-03 16:42:08 +02:00
Jelte Jansen
b89e441124
[2275] valgrind fix: close db in test case
2012-10-03 16:11:51 +02:00