You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2014/03/20 14:06:44 UTC

svn commit: r1579620 - /subversion/trunk/subversion/tests/cmdline/lock_tests.py

Author: philip
Date: Thu Mar 20 13:06:44 2014
New Revision: 1579620

URL: http://svn.apache.org/r1579620
Log:
* subversion/tests/cmdline/lock_tests.py
  (dav_lock_timeout): Extend to verify that all RA layers report
   the expiration date.

Modified:
    subversion/trunk/subversion/tests/cmdline/lock_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/lock_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/lock_tests.py?rev=1579620&r1=1579619&r2=1579620&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/lock_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/lock_tests.py Thu Mar 20 13:06:44 2014
@@ -2039,6 +2039,8 @@ def dav_lock_timeout(sbox):
   wc_dir = sbox.wc_dir
 
   svntest.main.run_lock_helper(sbox.repo_dir, 'iota',  'some_user', 999)
+  # Lock should have an expiration date
+  expiration_date = svntest.actions.run_and_parse_info(sbox.repo_url + '/iota')[0]['Lock Expires']
 
   # Verify that there is a lock, by trying to obtain one
   svntest.actions.run_and_verify_svn2(None, None, ".*locked by user", 0,