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
2ac98769
Commit
2ac98769
authored
11 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
Make regression test more robust
Expect was failing periodicallly due to apparent timing problems
parent
68deb76d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testsuite/expect/test1.89
+7
-4
7 additions, 4 deletions
testsuite/expect/test1.89
testsuite/expect/test1.90
+13
-0
13 additions, 0 deletions
testsuite/expect/test1.90
with
20 additions
and
4 deletions
testsuite/expect/test1.89
+
7
−
4
View file @
2ac98769
...
@@ -127,12 +127,15 @@ expect {
...
@@ -127,12 +127,15 @@ expect {
#
#
# Reading a second prompt is required by some versions of Expect
# Reading a second prompt is required by some versions of Expect
#
#
if { 0 } {
set timeout 1
expect {
expect {
-re $prompt {
-re $prompt {
}
exp_continue
}
timeout {
}
}
}
}
set timeout 30
#
#
# Run a job step to get allocated processor count and affinity
# Run a job step to get allocated processor count and affinity
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test1.90
+
13
−
0
View file @
2ac98769
...
@@ -136,6 +136,19 @@ expect {
...
@@ -136,6 +136,19 @@ expect {
}
}
}
}
#
# Reading a second prompt is required by some versions of Expect
#
set timeout 1
expect {
-re $prompt {
exp_continue
}
timeout {
}
}
set timeout 30
#
#
# Run a job step to get allocated processor count and affinity
# Run a job step to get allocated processor count and affinity
#
#
...
...
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