[py-svn] commit/pytest: hpk42: try to avoid timing/race condition
Bitbucket
commits-noreply at bitbucket.org
Wed Nov 9 00:04:41 CET 2011
1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/changeset/6a24dc78293d/
changeset: 6a24dc78293d
user: hpk42
date: 2011-11-09 00:04:31
summary: try to avoid timing/race condition
affected #: 1 file
diff -r 73760c710e264c56056b9a93c9eeeefbad052e9d -r 6a24dc78293dda5cd7ba556e4dc454bdb018eb4b testing/acceptance_test.py
--- a/testing/acceptance_test.py
+++ b/testing/acceptance_test.py
@@ -468,7 +468,7 @@
class TestDurations:
source = """
import time
- frag = 0.01
+ frag = 0.02
def test_2():
time.sleep(frag*2)
def test_1():
@@ -550,8 +550,7 @@
result.stdout.fnmatch_lines([
"*durations*",
- "*setup*test_1*",
- "*call*test_1*",
- "*call*test_2*",
+ "* setup *test_1*",
+ "* call *test_1*",
])
Repository URL: https://bitbucket.org/hpk42/pytest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list