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
92d300a7
Commit
92d300a7
authored
15 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
fix for test to allow multfactor success
parent
c9ee582f
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/test7.1
+17
-3
17 additions, 3 deletions
testsuite/expect/test7.1
with
17 additions
and
3 deletions
testsuite/expect/test7.1
+
17
−
3
View file @
92d300a7
...
...
@@ -40,6 +40,7 @@ set job_id3 0
set prio1 -1
set prio2 -1
set prio3 -1
set multi 0
print_header $test_id
...
...
@@ -49,6 +50,12 @@ if {[test_wiki_sched] == 1} {
exit $exit_code
}
# expected outcome is different under multifactor rule
if { ![string compare [priority_type] multifactor] } {
set multi 1
}
make_bash_script "pwd_script" { $bin_pwd }
#
...
...
@@ -168,9 +175,16 @@ if {$job_id3 != 0} {
#
# Confirm reasonable values for the job priorities
#
if {$prio1 <= $prio2} {
send_user "\FAILURE: Job priorities are not decreasing: $prio1 <= $prio2 \n"
set exit_code 1
if {$multi} {
if {$prio1 != $prio2} {
send_user "\FAILURE: Job priorities are not same: $prio1 != $prio2 \n"
set exit_code 1
}
} else {
if {$prio1 <= $prio2} {
send_user "\FAILURE: Job priorities are not decreasing: $prio1 <= $prio2 \n"
set exit_code 1
}
}
if {$prio3 != 0} {
send_user "\FAILURE: Held job has non-zero priority: $prio3\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