From bd296c796f4303230636e9f35eec58d1058e64dd Mon Sep 17 00:00:00 2001 From: holger krekel Date: Tue, 8 Nov 2011 23:04:31 +0000 Subject: [PATCH] try to avoid timing/race condition --- testing/acceptance_test.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py index 769f96a0c..cc678f8c6 100644 --- a/testing/acceptance_test.py +++ b/testing/acceptance_test.py @@ -468,7 +468,7 @@ class TestInvocationVariants: 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 @@ class TestDurationWithFixture: result.stdout.fnmatch_lines([ "*durations*", - "*setup*test_1*", - "*call*test_1*", - "*call*test_2*", + "* setup *test_1*", + "* call *test_1*", ])