Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
5651bdb2
Commit
5651bdb2
authored
Jun 01, 2015
by
Eric Tune
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8746 from justinsb/e2e_restartpolicy_never
e2e: Specify RestartPolicy=Never in empty_dir test
parents
8195f13b
784c4aef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
empty_dir.go
test/e2e/empty_dir.go
+1
-0
host_path.go
test/e2e/host_path.go
+2
-1
No files found.
test/e2e/empty_dir.go
View file @
5651bdb2
...
...
@@ -95,6 +95,7 @@ func testPodWithVolume(path string, source *api.EmptyDirVolumeSource) *api.Pod {
},
},
},
RestartPolicy
:
api
.
RestartPolicyNever
,
Volumes
:
[]
api
.
Volume
{
{
Name
:
volumeName
,
...
...
test/e2e/host_path.go
View file @
5651bdb2
...
...
@@ -135,7 +135,8 @@ func testPodWithHostVol(path string, source *api.HostPathVolumeSource) *api.Pod
},
},
},
Volumes
:
mount
(
source
),
RestartPolicy
:
api
.
RestartPolicyNever
,
Volumes
:
mount
(
source
),
},
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment