Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
79da7119
Commit
79da7119
authored
3 years ago
by
Scott Jackson
Committed by
Albert Gil
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Testsuite - Improve test9.8 relaxing a timeout to avoid false positives
Fix job submission count message Bug 10439
parent
5c4a899e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/expect/test9.8
+2
-3
2 additions, 3 deletions
testsuite/expect/test9.8
with
2 additions
and
3 deletions
testsuite/expect/test9.8
+
2
−
3
View file @
79da7119
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment