[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: checkout_tests.py 12 (checkout_peg_rev_date) breaks on fast setups

From: Ben Reser <breser_at_gmail.com>
Date: Tue, 11 Feb 2014 18:23:10 -0800

On 7/9/13, 6:52 AM, Daniel Shahaf wrote:
> Philip Martin wrote on Tue, Jul 09, 2013 at 10:12:35 +0100:
>> Does that work in 2.5?
>>
>
> It works in 2.4:
>
> >>> r1_time = datetime.datetime(2007, 1, 10, 1, 25, 1, 123456)
> >>> peg_time = r1_time + datetime.timedelta(microseconds=1)
> >>> repr(peg_time)
> 'datetime.datetime(2007, 1, 10, 1, 25, 1, 123457)'
>
> The documentation in 2.5.4 promises timedelta objects have microsecond
> resolution.

It works in 2.5.6. I tested it with a 2.5.6 I built from source on Ubuntu
12.04 64-bit. Note you need to set LDFLAGS=-L/usr/lib/x86_64-linux-gnu or
you'll get errors.

I'm going to leave a trunk and 1.8.x with r1496127,r1567492,r1567494 running
the test repeatedly over night to see if I can duplicate the occasional test
failure (I see this sometimes on the machine I'm doing this on) like so:
exit=0; while [ $exit -eq 0 ]; do $PYTHON
$SRCDIR/subversion/tests/cmdline/checkout_tests.py 12; exit=$?; done

But given that I'm not seeing errors with a reasonable amount of time running
I'm adding r1567492 and r1567494 to the r1496127 nomination on 1.8.x and voting
for it.
Received on 2014-02-12 03:23:02 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.