diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-08-11 15:51:08 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-08-11 15:51:08 -0400 |
| commit | 48c9993b65dfee9ab36f84dbcf8c27631fb38950 (patch) | |
| tree | 7289f92a978dc7c39cde783f846e7e5b2d1c7ff0 /test/aaa_profiling/test_pool.py | |
| parent | 3986fd7626ff29f7debfc72f63ba22235e31ed7e (diff) | |
| download | sqlalchemy-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.py | 6 |
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() |
