You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David Glasser <gl...@davidglasser.net> on 2007/10/02 21:38:05 UTC
sleeping for timestamps in the test suite
Erik added the neat feature to the test suite that, if svn was built
with SVN_DEBUG, it won't sleep for timestamps, speeding up execution.
This means that tests that actually depend on sleep-for-timestamps
need to turn it back on with
svntest.actions.do_sleep_for_timestamps(). I just fixed one new merge
test to use that; it looks like there are two new merge_tests that
have explicit "time.sleep(1)" calls in them. Should those just use
the svntest.actions call instead of manually inserting the sleeps?
--dave
--
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: sleeping for timestamps in the test suite
Posted by Kamesh Jayachandran <ka...@collab.net>.
Thanks David.
With regards
Kamesh Jayachandran
David Glasser wrote:
> On 10/2/07, David Glasser <gl...@davidglasser.net> wrote:
>
>> Erik added the neat feature to the test suite that, if svn was built
>> with SVN_DEBUG, it won't sleep for timestamps, speeding up execution.
>> This means that tests that actually depend on sleep-for-timestamps
>> need to turn it back on with
>> svntest.actions.do_sleep_for_timestamps(). I just fixed one new merge
>> test to use that; it looks like there are two new merge_tests that
>> have explicit "time.sleep(1)" calls in them. Should those just use
>> the svntest.actions call instead of manually inserting the sleeps?
>>
>
> ... or just make sure to change the sizes of files unless you have a
> good reason not to. Committed in r26899.
>
> --dave
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: sleeping for timestamps in the test suite
Posted by David Glasser <gl...@davidglasser.net>.
On 10/2/07, David Glasser <gl...@davidglasser.net> wrote:
> Erik added the neat feature to the test suite that, if svn was built
> with SVN_DEBUG, it won't sleep for timestamps, speeding up execution.
> This means that tests that actually depend on sleep-for-timestamps
> need to turn it back on with
> svntest.actions.do_sleep_for_timestamps(). I just fixed one new merge
> test to use that; it looks like there are two new merge_tests that
> have explicit "time.sleep(1)" calls in them. Should those just use
> the svntest.actions call instead of manually inserting the sleeps?
... or just make sure to change the sizes of files unless you have a
good reason not to. Committed in r26899.
--dave
--
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org