File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ def setup_tpcds(config):
5151def run_tpcds (config ):
5252 """TPC-DS stress test"""
5353
54+ TPC_DS_EXCLUDE_LIST = [] # actual numbers of TPC-DS tests to exclude
55+ TPC_DS_STATEMENT_TIMEOUT = 20000 # statement_timeout in ms
56+
5457 print ('Preparing TPC-DS queries...' )
5558 queries = []
5659 for query_file in sorted (os .listdir ('tmp_stress/tpcds-result-reproduction/query_qualification/' )):
@@ -61,7 +64,6 @@ def run_tpcds(config):
6164 pid = acon .get_backend_pid ()
6265
6366 print ('Starting TPC-DS queries...' )
64- TPC_DS_EXCLUDE_LIST = [] # actual numbers of TPC-DS tests to exclude
6567 timeout_list = []
6668 bar = progressbar .ProgressBar (max_value = len (queries ))
6769 for i , query in enumerate (queries ):
@@ -70,7 +72,6 @@ def run_tpcds(config):
7072 continue
7173 try :
7274 # Set query timeout to TPC_DS_STATEMENT_TIMEOUT / 1000 seconds
73- TPC_DS_STATEMENT_TIMEOUT = 20000
7475 common .set_guc (acon , 'statement_timeout' , TPC_DS_STATEMENT_TIMEOUT )
7576
7677 # run query
You can’t perform that action at this time.
0 commit comments