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
723c589a
Commit
723c589a
authored
18 years ago
by
Christopher J. Morrone
Browse files
Options
Downloads
Patches
Plain Diff
Remove InactiveLimit code (no longer necessary).
Have the test script ignore SIGINT.
parent
dd1a4ce5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/expect/test15.5
+1
-18
1 addition, 18 deletions
testsuite/expect/test15.5
with
1 addition
and
18 deletions
testsuite/expect/test15.5
+
1
−
18
View file @
723c589a
...
...
@@ -42,17 +42,10 @@ set sleep_time 180
print_header $test_id
#
# Make sure sleep time is no larger than InactiveLimit
set inactive_limit $sleep_time
set kill_wait $sleep_time
log_user 0
spawn $scontrol show config
expect {
-re "InactiveLimit *= ($number)" {
set inactive_limit $expect_out(1,string)
exp_continue
}
-re "KillWait *= ($number)" {
set kill_wait $expect_out(1,string)
exp_continue
...
...
@@ -66,26 +59,16 @@ expect {
}
}
log_user 1
if {$inactive_limit == 0} {
set inactive_limit $sleep_time
}
if {$inactive_limit < 120} {
send_user "\nWARNING: InactiveLimit ($inactive_limit) is too low for this test\n"
exit 0
}
if {$kill_wait > 60} {
send_user "\nWARNING: KillWait ($kill_wait) is too high for this test\n"
exit 0
}
if {$inactive_limit < $sleep_time} {
set sleep_time [expr $inactive_limit + $kill_wait]
send_user "\nReset job sleep time to $sleep_time seconds\n"
}
#
# Build input script file
#
make_bash_script $file_in "
trap \"\" SIGINT
$srun $bin_sleep $sleep_time
$bin_echo FINI
"
...
...
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