]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
up the variance on these as the call counts are very low and
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 6 Jul 2010 21:09:42 +0000 (17:09 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 6 Jul 2010 21:09:42 +0000 (17:09 -0400)
things wiggle around even between 2.6.4/2.6.5

test/aaa_profiling/test_pool.py

index c4f5191fec331810017649f89f9dc57c2d0fa80c..bc3c12d57f17a9d62d3dc5d131413efd8baf10dc 100644 (file)
@@ -20,7 +20,8 @@ class QueuePoolTest(TestBase, AssertsExecutionResults):
 
     @profiling.function_call_count(64, {'2.4': 42, '2.7':59, 
                                             '2.7+cextension':59,
-                                            '3.0':65, '3.1':65})
+                                            '3.0':65, '3.1':65},
+                                            variance=.10)
     def test_first_connect(self):
         conn = pool.connect()
 
@@ -29,7 +30,8 @@ class QueuePoolTest(TestBase, AssertsExecutionResults):
         conn.close()
 
         @profiling.function_call_count(32, {'2.4': 21, '2.7':29,
-                                            '2.7+cextension':29})
+                                            '2.7+cextension':29},
+                                            variance=.10)
         def go():
             conn2 = pool.connect()
             return conn2