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
2e68555c
Commit
2e68555c
authored
12 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
Minor test updates
parent
3e705ece
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
testsuite/expect/inc3.11.7
+0
-3
0 additions, 3 deletions
testsuite/expect/inc3.11.7
testsuite/expect/inc3.11.8
+1
-2
1 addition, 2 deletions
testsuite/expect/inc3.11.8
testsuite/expect/test15.21
+1
-1
1 addition, 1 deletion
testsuite/expect/test15.21
with
2 additions
and
6 deletions
testsuite/expect/inc3.11.7
+
0
−
3
View file @
2e68555c
...
@@ -232,7 +232,6 @@ proc inc3_11_7 {} {
...
@@ -232,7 +232,6 @@ proc inc3_11_7 {} {
}
}
-re "JobState=PENDING" {
-re "JobState=PENDING" {
send_user "\n\033\[32mSUCCESS: Job $job_id is PENDING as expected\033\[m\n"
send_user "\n\033\[32mSUCCESS: Job $job_id is PENDING as expected\033\[m\n"
set exit_code 0
exp_continue
exp_continue
}
}
-re "JobState=RUNNING" {
-re "JobState=RUNNING" {
...
@@ -284,7 +283,6 @@ proc inc3_11_7 {} {
...
@@ -284,7 +283,6 @@ proc inc3_11_7 {} {
}
}
-re "JobState=PENDING" {
-re "JobState=PENDING" {
send_user "\n\033\[32mSUCCESS: Job $job_id is PENDING as expected\033\[m\n"
send_user "\n\033\[32mSUCCESS: Job $job_id is PENDING as expected\033\[m\n"
set exit_code 0
exp_continue
exp_continue
}
}
-re "JobState=RUNNING" {
-re "JobState=RUNNING" {
...
@@ -325,7 +323,6 @@ proc inc3_11_7 {} {
...
@@ -325,7 +323,6 @@ proc inc3_11_7 {} {
}
}
-re "JobState=RUNNING" {
-re "JobState=RUNNING" {
send_user "\n\033\[32mSUCCESS: Job $job_id is RUNNING as expected\033\[m\n"
send_user "\n\033\[32mSUCCESS: Job $job_id is RUNNING as expected\033\[m\n"
set exit_code 0
exp_continue
exp_continue
}
}
timeout {
timeout {
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/inc3.11.8
+
1
−
2
View file @
2e68555c
...
@@ -103,10 +103,9 @@ proc inc3_11_8 {} {
...
@@ -103,10 +103,9 @@ proc inc3_11_8 {} {
set core_res_num [expr $core_res_num + 1]
set core_res_num [expr $core_res_num + 1]
# Make the reservation using more cores then free in a node
# Make the reservation using more cores then free in a node
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"
1
]
if {$ret_code != 0} {
if {$ret_code != 0} {
send_user "\n\033\[32mSUCCESS: Reservation can not be created as expected\033\[m\n"
send_user "\n\033\[32mSUCCESS: Reservation can not be created as expected\033\[m\n"
set exit_code 0
} else {
} else {
send_user "\n\033\[31mFAILURE: reservation was created when it should have not\033\[m\n"
send_user "\n\033\[31mFAILURE: reservation was created when it should have not\033\[m\n"
set exit_code 1
set exit_code 1
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test15.21
+
1
−
1
View file @
2e68555c
...
@@ -79,7 +79,7 @@ expect {
...
@@ -79,7 +79,7 @@ expect {
set job_id $expect_out(1,string)
set job_id $expect_out(1,string)
exp_continue
exp_continue
}
}
-re "
Fai
le
d
to allocate resources" {
-re "
Unab
le to allocate resources" {
send_user "\nWARNING: can't test salloc task distribution\n"
send_user "\nWARNING: can't test salloc task distribution\n"
exit $exit_code
exit $exit_code
}
}
...
...
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