HA: pullUpdates unit test is now checked in
- From: Scott Lawrence <slawrence (at) pingtel.com>
- Date: Mon, 23 Jan 2006 08:40:48 -0500
On Sun, 2006-01-22 at 01:33 -0500, Walter Gillett wrote:
> Scott,
>
> In order to get that to work, I had to factor out my DB relocation code
> and put it in a base class common to your RegistrarPeerTest and my
> SipRegistrarServerTest (renamed from SyncRpcTest since it is no longer
> testing the RPC machinery, just the back end). I know you have some more
> general DB relocation code coming soon, this is a temporary measure.
I've checked in the more general framework - I went a bit nuts with it
so that it now covers any test file, not just the sipdb. See the docs
in sipXcommserverLib for FileTestContext, SipDbTestContext, and
RegistrarDbTestContext. It looks as though your new test fails in the
RPM build without those, because it's trying to write into /var/sipxdata
on the build machine and does not have permission.
--
Scott Lawrence tel:+1-781-938-5306;ext=162 or sip:slawrence (at) pingtel.com
Consulting Engineer - Pingtel Corp. http://www.pingtel.com/
sipXpbx project coordinator - SIPfoundry http://www.sipfoundry.org/sipX
_______________________________________________
sipx-dev mailing list
sipx-dev (at) list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev