File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -217,12 +217,15 @@ def test_import_reimport_reimport_performance_no_async_with_product_grading(self
217
217
so we patch the we_want_async decorator to always return False.
218
218
"""
219
219
self .system_settings (enable_product_grade = True )
220
+ testuser = User .objects .get (username = "admin" )
221
+ testuser .usercontactinfo .block_execution = True
222
+ testuser .usercontactinfo .save ()
220
223
221
224
self .import_reimport_performance (
222
- expected_num_queries1 = 712 ,
223
- expected_num_async_tasks1 = 10 ,
224
- expected_num_queries2 = 655 ,
225
- expected_num_async_tasks2 = 22 ,
226
- expected_num_queries3 = 332 ,
227
- expected_num_async_tasks3 = 20 ,
225
+ expected_num_queries1 = 732 ,
226
+ expected_num_async_tasks1 = 15 ,
227
+ expected_num_queries2 = 685 ,
228
+ expected_num_async_tasks2 = 28 ,
229
+ expected_num_queries3 = 357 ,
230
+ expected_num_async_tasks3 = 25 ,
228
231
)
You can’t perform that action at this time.
0 commit comments