Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 841eac41 authored by Millian Poquet's avatar Millian Poquet
Browse files

[test] fix kill-onnewsubmit

parent 63dee485
......@@ -41,29 +41,19 @@ foreach(simu_instance IN LISTS simu_instances)
set(thistest_OUTPUT_DIR "${test_output_dir}/${thistest_NAME}")
set(thistest_BATSIM_CONFIG_FILE "${thistest_OUTPUT_DIR}/batconf.json")
# Generate batsim configuration file
file(MAKE_DIRECTORY ${thistest_OUTPUT_DIR})
file(WRITE ${thistest_BATSIM_CONFIG_FILE}
"{\n\
\"redis\": {\n\
\"enabled\": ${redis_mode_value}\n\
},\n\
\"job_submission\": {\n\
\"forward_profiles\": true,\n\
\"from_scheduler\":{\n\
\"enabled\": false,
\"acknowledge\": false\n\
}\n\
}\n\
}"
)
set(thistest_OTH_BATSIM_ARGS "--forward-profiles-on-submission")
if (${redis_mode_value} MATCHES "true")
set(thistest_OTH_BATSIM_ARGS "${thistest_OTH_BATSIM_ARGS} --enable-redis")
endif()
# Create the test
add_test_robintest_batsched(NAME ${thistest_NAME}
PLATFORM ${platform_filename}
WORKLOAD ${workload_filename}
ALGORITHM ${algo_realname}
OTH_BATSIM_ARGS "--config-file ${thistest_BATSIM_CONFIG_FILE}"
OTH_BATSIM_ARGS "${thistest_OTH_BATSIM_ARGS}"
OTH_BATSCHED_ARGS ""
ROBINTEST_EXPECTATION "--expect-ctx-clean --expect-ctx-clean-at-begin --expect-ctx-clean-at-end --expect-robin-success --expect-sched-success --expect-batsim-success"
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment