File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -362,11 +362,12 @@ def handle_test_env() -> None:
362362 write_env ("DISABLE_CONTEXT" )
363363
364364 if test_name == "perf" :
365- run_command ("git clone --depth 1 https://github.com/mongodb/specifications.git" )
366365 data_dir = ROOT / "specifications/source/benchmarking/data"
367- run_command ("tar xf extended_bson.tgz" , cwd = data_dir )
368- run_command ("tar xf parallel.tgz" , cwd = data_dir )
369- run_command ("tar xf single_and_multi_document.tgz" , cwd = data_dir )
366+ if not data_dir .exists ():
367+ run_command ("git clone --depth 1 https://github.com/mongodb/specifications.git" )
368+ run_command ("tar xf extended_bson.tgz" , cwd = data_dir )
369+ run_command ("tar xf parallel.tgz" , cwd = data_dir )
370+ run_command ("tar xf single_and_multi_document.tgz" , cwd = data_dir )
370371 write_env ("TEST_PATH" , str (data_dir ))
371372 write_env ("OUTPUT_FILE" , str (ROOT / "results.json" ))
372373
You can’t perform that action at this time.
0 commit comments