Skip to content
Snippets Groups Projects
Commit 79da7119 authored by Scott Jackson's avatar Scott Jackson Committed by Albert Gil
Browse files

Testsuite - Improve test9.8 relaxing a timeout to avoid false positives

Fix job submission count message

Bug 10439
parent 5c4a899e
No related branches found
No related tags found
No related merge requests found
......@@ -80,13 +80,12 @@ $srun -N1 -n1 --mem=0 $bin_sleep $sleep_time
#
# Initiate $job_cnt batch jobs
#
set start_cnt 0
set timeout 30
for {set inx 0} {$inx < $job_cnt} {incr inx} {
set job_id [submit_job -fail "--gres=craynetwork:0 --job-name=$job_name --mem-per-cpu=[expr $mem_per_step * 10] --output=/dev/null --error=/dev/null -t5 $file_in"]
lappend jobs_list $job_id
}
log_debug "All $start_cnt jobs submitted"
log_debug "All $job_cnt jobs submitted"
# Wait for at least $job_cnt jobs to be started
# Because we want an external variable set with the match count, it is
......@@ -115,7 +114,7 @@ set desired_tasks [expr $task_cnt * 2 / 3]
# We want to see a decent number of steps running
if [
wait_for -timeout $delay {$step_count >= $desired_tasks} {
wait_for {$step_count >= $desired_tasks} {
set step_count [
regexp -all sleep [
run_command_output -fail "$squeue --steps --name $job_name"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment