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

authz_tests 7 FAIL with new revprop caching

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 19 Apr 2012 09:59:58 +0100

On my Linux machine svnserve with threading and revprop caching causes
authz_tests 7 to FAIL:

$ subversion/svnserve/svnserve --cache-revprops yes -Tdr subversion/tests/cmdline

and

$ ./authz_tests.py --url=svn://localhost 7

gives:

2012-04-19 09:56:31 [WARNING] CWD: /home/pm/sw/subversion/obj/subversion/tests/cmdline
2012-04-19 09:56:31 [WARNING] EXCEPTION: Failure:
- {'foobar': 'foo bar',
- 'svn:author': 'jrandom',
? ^

+ {'svn:author': u'jrandom',
? ^ +

   'svn:date': '',
- 'svn:log': 'Log message for revision 1.'}
+ 'svn:log': u'Log message for revision 1.'}
? +
Traceback (most recent call last):
  File "/home/pm/sw/subversion/src/subversion/tests/cmdline/svntest/main.py", line 1332, in run
    rc = self.pred.run(sandbox)
  File "/home/pm/sw/subversion/src/subversion/tests/cmdline/svntest/testcase.py", line 254, in run
    return self._delegate.run(sandbox)
  File "/home/pm/sw/subversion/src/subversion/tests/cmdline/svntest/testcase.py", line 176, in run
    return self.func(sandbox)
  File "../../../../src/subversion/tests/cmdline/authz_tests.py", line 602, in authz_log_and_tracing_test
    args=['--with-all-revprops', '-r1', sbox.repo_url])
  File "/home/pm/sw/subversion/src/subversion/tests/cmdline/svntest/actions.py", line 713, in run_and_verify_log_xml
    entry.assert_revprops(expected_revprops[index])
  File "/home/pm/sw/subversion/src/subversion/tests/cmdline/svntest/actions.py", line 588, in assert_revprops
    pprint.pformat(self.revprops).splitlines())))
Failure:
- {'foobar': 'foo bar',
- 'svn:author': 'jrandom',
? ^

+ {'svn:author': u'jrandom',
? ^ +

   'svn:date': '',
- 'svn:log': 'Log message for revision 1.'}
+ 'svn:log': u'Log message for revision 1.'}
? +

FAIL: authz_tests.py 7: test authz for log and tracing path changes

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2012-04-19 11:00:39 CEST

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.