William McKee wrote:
Hi,

Here's an interesting problem I've come across. I have an application
that is occassionally retrieving duplicate data from a BerkeleyDB. I've
written a couple tests which, so far, cannot duplicate the problem (one
using a direct database interface and another using A::T).

This has led me to believe that the problem must result from a different
Apache process interfering with an already running process (there is a
gap between reading the record and deleting it whereby another process
could come in and read the record again). Thus, I need to get A::T to
run several clients in synch against my application in order to hound
out this error.

Is there a way to do this with A::T or should I be using another
utility?

You can do that easily:

1) start the server:
t/TEST -start

2) start as many clients as you want (e.g. 3 clients):

t/TEST -run [tests] &
t/TEST -run [tests] &
t/TEST -run [tests] &


-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Reply via email to