You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2010/09/09 16:51:28 UTC
svn commit: r995450 -
/subversion/trunk/subversion/tests/cmdline/update_tests.py
Author: rhuijben
Date: Thu Sep 9 14:51:28 2010
New Revision: 995450
URL: http://svn.apache.org/viewvc?rev=995450&view=rev
Log:
* subversion/tests/cmdline/update_tests.py
(update_with_file_lock_and_keywords_property_set):
Following up on r995441, wait a second instead of hoping that lock
or propset wait for us.
Suggested by: philip
Modified:
subversion/trunk/subversion/tests/cmdline/update_tests.py
Modified: subversion/trunk/subversion/tests/cmdline/update_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/update_tests.py?rev=995450&r1=995449&r2=995450&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/update_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/update_tests.py Thu Sep 9 14:51:28 2010
@@ -26,6 +26,7 @@
# General modules
import sys, re, os, subprocess
+import time
# Our testing module
import svntest
@@ -5728,9 +5729,6 @@ def update_with_file_lock_and_keywords_p
"""update with file lock & keywords property set"""
sbox.build()
- # We need a timestamp change to detect that the mtime did change.
- actions.do_sleep_for_timestamps()
-
wc_dir = sbox.wc_dir
mu_path = os.path.join(wc_dir, 'A', 'mu')
@@ -5738,7 +5736,10 @@ def update_with_file_lock_and_keywords_p
svntest.main.run_svn(None, 'ps', 'svn:keywords', 'Id', mu_path)
svntest.main.run_svn(None, 'lock', mu_path)
mu_ts_before_update = os.path.getmtime(mu_path)
-
+
+ # Make sure we are at a different timestamp to really notice a mtime change
+ time.sleep(1)
+
# Issue #3471 manifests itself here; The timestamp of 'mu' gets updated
# to the time of the last "svn up".
sbox.simple_update()