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
b1699285
Commit
b1699285
authored
11 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
Improve test failure clean up
parent
13aa9184
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/inc3.11.8
+5
-4
5 additions, 4 deletions
testsuite/expect/inc3.11.8
with
5 additions
and
4 deletions
testsuite/expect/inc3.11.8
+
5
−
4
View file @
b1699285
...
@@ -91,19 +91,20 @@ proc inc3_11_8 {} {
...
@@ -91,19 +91,20 @@ proc inc3_11_8 {} {
set ret_code [create_res "StartTime=now Duration=60 NodeCnt=1 CoreCnt=$core_res_num User=$user_name" 0]
set ret_code [create_res "StartTime=now Duration=60 NodeCnt=1 CoreCnt=$core_res_num User=$user_name" 0]
if {$ret_code != 0} {
if {$ret_code != 0} {
send_user "\n\033\[31mFAILURE: Unable to create a valid reservation\033\[m\n"
send_user "\n\033\[31mFAILURE: Unable to create a valid reservation\033\[m\n"
cancel_job $job_id
exit $ret_code
exit $ret_code
}
}
if {$res_nodecnt != 1} {
if {$res_nodecnt != 1} {
send_user "\n\033\[31mFAILURE: reservation created with $res_nodecnt nodes when just 1 was requested\033\[m\n"
send_user "\n\033\[31mFAILURE: reservation created with $res_nodecnt nodes when just 1 was requested\033\[m\n"
set exit_code 1
cancel_job $job_id
exit
$ret_code
exit
1
}
}
if {$res_corecnt != $core_res_num} {
if {$res_corecnt != $core_res_num} {
send_user "\n\033\[31mFAILURE: reservation created with $res_corecnt cores when just $core_res_num was requested\033\[m\n"
send_user "\n\033\[31mFAILURE: reservation created with $res_corecnt cores when just $core_res_num was requested\033\[m\n"
set exit_code 1
cancel_job $job_id
exit
$ret_code
exit
1
}
}
send_user "\n\033\[32mSUCCESS: reservation was created as expected\033\[m\n"
send_user "\n\033\[32mSUCCESS: reservation was created as expected\033\[m\n"
...
...
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