scale up test

This commit is contained in:
QuanyiLi
2023-05-08 13:30:41 +01:00
parent 3779f680ed
commit b73dd086a2

View File

@@ -31,11 +31,11 @@ def test_generate_from_error():
for scenario_file in sorted_scenarios:
read_scenario(dataset_path, mapping, scenario_file)
success, logs = verify_loading_into_metadrive(
dataset_path, result_save_dir="test_dataset", steps_to_run=1000, num_workers=8)
dataset_path, result_save_dir="../test_dataset", steps_to_run=1000, num_workers=8)
set_random_drop(False)
# get error file
file_name = ErrorFile.get_error_file_name(dataset_path)
error_file_path = os.path.join("test_dataset", file_name)
error_file_path = os.path.join("../test_dataset", file_name)
# regenerate
pass_dataset = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "tmp", "passed_senarios")
fail_dataset = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "tmp", "failed_scenarios")