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
5a0f46be
Commit
5a0f46be
authored
22 years ago
by
tewk
Browse files
Options
Downloads
Patches
Plain Diff
fixed local uid
The uid must be a valid uid on the machine where the test is being run
parent
04092a5a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testsuite/slurm_unit/slurmd/task_launch-test.c
+6
-4
6 additions, 4 deletions
testsuite/slurm_unit/slurmd/task_launch-test.c
testsuite/slurm_unit/slurmd/task_mgr-test.c
+1
-1
1 addition, 1 deletion
testsuite/slurm_unit/slurmd/task_mgr-test.c
with
7 additions
and
5 deletions
testsuite/slurm_unit/slurmd/task_launch-test.c
+
6
−
4
View file @
5a0f46be
...
...
@@ -8,9 +8,11 @@ int main ( int argc , char* argv[] )
slurm_addr
io_pipe_addrs
[
2
]
;
slurm_addr
slurmd_addr
;
int
gids
[
1
]
;
slurm_job_credential_t
credential
;
credential
.
node_list
=
"TESTING"
;
gids
[
1
]
=
9999
;
slurm_set_addr_char
(
&
slurmd_addr
,
7003
,
"localhost"
)
;
slurm_set_addr_char
(
&
slurmd_addr
,
7002
,
"localhost"
)
;
request_msg
.
msg_type
=
REQUEST_LAUNCH_TASKS
;
request_msg
.
data
=
&
launch_tasks_msg
;
request_msg
.
address
=
slurmd_addr
;
...
...
@@ -19,8 +21,8 @@ int main ( int argc , char* argv[] )
slurm_set_addr_char
(
io_pipe_addrs
+
1
,
7072
,
"localhost"
)
;
launch_tasks_msg
.
job_id
=
1000
;
launch_tasks_msg
.
job_step_id
=
2000
;
launch_tasks_msg
.
uid
=
8
73
7
;
launch_tasks_msg
.
credentials
=
NULL
;
launch_tasks_msg
.
uid
=
8
20
7
;
launch_tasks_msg
.
credentials
=
&
credential
;
launch_tasks_msg
.
tasks_to_launch
=
1
;
launch_tasks_msg
.
envc
=
0
;
launch_tasks_msg
.
env
=
NULL
;
...
...
This diff is collapsed.
Click to expand it.
testsuite/slurm_unit/slurmd/task_mgr-test.c
+
1
−
1
View file @
5a0f46be
...
...
@@ -15,7 +15,7 @@ int main ( int argc , char ** argv )
//kill_tasks_msg_t kill_tasks_msg ;
launch_tasks_msg
.
job_id
=
1000
;
launch_tasks_msg
.
job_step_id
=
2000
;
launch_tasks_msg
.
uid
=
8
73
7
;
launch_tasks_msg
.
uid
=
8
20
7
;
launch_tasks_msg
.
credentials
=
NULL
;
launch_tasks_msg
.
tasks_to_launch
=
1
;
launch_tasks_msg
.
envc
=
0
;
...
...
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