avoid race condition in test, fix doc link

This commit is contained in:
holger krekel 2011-11-08 22:06:57 +00:00
parent 99a1188287
commit 7144cec580
2 changed files with 1 additions and 2 deletions

View File

@ -5,6 +5,7 @@ Release announcements
.. toctree::
:maxdepth: 2
release-2.2.0
release-2.1.3
release-2.1.2
release-2.1.1

View File

@ -538,7 +538,6 @@ class TestDurationWithFixture:
frag = 0.01
def setup_function(func):
time.sleep(frag * 3)
def test_1():
time.sleep(frag*2)
def test_2():
@ -552,7 +551,6 @@ class TestDurationWithFixture:
result.stdout.fnmatch_lines([
"*durations*",
"*setup*test_1*",
"*setup*test_2*",
"*call*test_1*",
"*call*test_2*",
])