summaryrefslogtreecommitdiff
path: root/test/aaa_profiling/test_pool.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-08-11 15:51:08 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-08-11 15:51:08 -0400
commit48c9993b65dfee9ab36f84dbcf8c27631fb38950 (patch)
tree7289f92a978dc7c39cde783f846e7e5b2d1c7ff0 /test/aaa_profiling/test_pool.py
parent3986fd7626ff29f7debfc72f63ba22235e31ed7e (diff)
downloadsqlalchemy-48c9993b65dfee9ab36f84dbcf8c27631fb38950.tar.gz
OK! let's turn this around completely. Forget making a single count across
all platforms. let's instead store callcounts for *all* observed platforms in a datafile. Will try to get enough platforms in the file for jenkins to have meaningful results. for platforms not in the file, it's just skiptest.
Diffstat (limited to 'test/aaa_profiling/test_pool.py')
-rw-r--r--test/aaa_profiling/test_pool.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/aaa_profiling/test_pool.py b/test/aaa_profiling/test_pool.py
index 11c356c37..6a3d93230 100644
--- a/test/aaa_profiling/test_pool.py
+++ b/test/aaa_profiling/test_pool.py
@@ -36,7 +36,7 @@ class QueuePoolTest(fixtures.TestBase, AssertsExecutionResults):
use_threadlocal=True)
- @profiling.function_call_count(47, variance=.15)
+ @profiling.function_call_count()
def test_first_connect(self):
conn = pool.connect()
@@ -44,7 +44,7 @@ class QueuePoolTest(fixtures.TestBase, AssertsExecutionResults):
conn = pool.connect()
conn.close()
- @profiling.function_call_count(17, variance=.10)
+ @profiling.function_call_count()
def go():
conn2 = pool.connect()
return conn2
@@ -53,7 +53,7 @@ class QueuePoolTest(fixtures.TestBase, AssertsExecutionResults):
def test_second_samethread_connect(self):
conn = pool.connect()
- @profiling.function_call_count(6)
+ @profiling.function_call_count()
def go():
return pool.connect()
c2 = go()