scale up test
This commit is contained in:
@@ -31,11 +31,11 @@ def test_generate_from_error():
|
|||||||
for scenario_file in sorted_scenarios:
|
for scenario_file in sorted_scenarios:
|
||||||
read_scenario(dataset_path, mapping, scenario_file)
|
read_scenario(dataset_path, mapping, scenario_file)
|
||||||
success, logs = verify_loading_into_metadrive(
|
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)
|
set_random_drop(False)
|
||||||
# get error file
|
# get error file
|
||||||
file_name = ErrorFile.get_error_file_name(dataset_path)
|
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
|
# regenerate
|
||||||
pass_dataset = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "tmp", "passed_senarios")
|
pass_dataset = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "tmp", "passed_senarios")
|
||||||
fail_dataset = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "tmp", "failed_scenarios")
|
fail_dataset = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "tmp", "failed_scenarios")
|
||||||
|
|||||||
Reference in New Issue
Block a user