From d3f9819df51c6fd32df991a769d6519f621f137d Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 20 Apr 2018 14:34:52 -0400 Subject: [PATCH] - more type cache warmup Change-Id: I1b4327d38b5a09b73298c99f37919ee9f48aad0b (cherry picked from commit 65ba2606be7f0eef2736270a099940ab2c218c4d) --- test/aaa_profiling/test_resultset.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py index 54cb76939f..51ff739a31 100644 --- a/test/aaa_profiling/test_resultset.py +++ b/test/aaa_profiling/test_resultset.py @@ -39,6 +39,12 @@ class ResultSetTest(fixtures.TestBase, AssertsExecutionResults): # warm up type caches t.select().execute().fetchall() t2.select().execute().fetchall() + testing.db.execute('SELECT %s FROM table1' % ( + ", ".join("field%d" % fnum for fnum in range(NUM_FIELDS)) + )).fetchall() + testing.db.execute("SELECT %s FROM table2" % ( + ", ".join("field%d" % fnum for fnum in range(NUM_FIELDS)) + )).fetchall() def teardown(self): metadata.drop_all() -- 2.47.2