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
e67562dc
Unverified
Commit
e67562dc
authored
Feb 19, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Feb 19, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #74143 from oomichi/issue/73771
Call getRandomClusterZone() only if necessary
parents
7fb16d9a
a01381a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
volume_provisioning.go
test/e2e/storage/volume_provisioning.go
+2
-3
No files found.
test/e2e/storage/volume_provisioning.go
View file @
e67562dc
...
@@ -257,7 +257,6 @@ var _ = utils.SIGDescribe("Dynamic Provisioning", func() {
...
@@ -257,7 +257,6 @@ var _ = utils.SIGDescribe("Dynamic Provisioning", func() {
Describe
(
"DynamicProvisioner [Slow]"
,
func
()
{
Describe
(
"DynamicProvisioner [Slow]"
,
func
()
{
It
(
"should provision storage with different parameters"
,
func
()
{
It
(
"should provision storage with different parameters"
,
func
()
{
cloudZone
:=
getRandomClusterZone
(
c
)
// This test checks that dynamic provisioning can provision a volume
// This test checks that dynamic provisioning can provision a volume
// that can be used to persist data among pods.
// that can be used to persist data among pods.
...
@@ -269,7 +268,7 @@ var _ = utils.SIGDescribe("Dynamic Provisioning", func() {
...
@@ -269,7 +268,7 @@ var _ = utils.SIGDescribe("Dynamic Provisioning", func() {
Provisioner
:
"kubernetes.io/gce-pd"
,
Provisioner
:
"kubernetes.io/gce-pd"
,
Parameters
:
map
[
string
]
string
{
Parameters
:
map
[
string
]
string
{
"type"
:
"pd-ssd"
,
"type"
:
"pd-ssd"
,
"zone"
:
cloudZone
,
"zone"
:
getRandomClusterZone
(
c
)
,
},
},
ClaimSize
:
"1.5Gi"
,
ClaimSize
:
"1.5Gi"
,
ExpectedSize
:
"2Gi"
,
ExpectedSize
:
"2Gi"
,
...
@@ -301,7 +300,7 @@ var _ = utils.SIGDescribe("Dynamic Provisioning", func() {
...
@@ -301,7 +300,7 @@ var _ = utils.SIGDescribe("Dynamic Provisioning", func() {
Provisioner
:
"kubernetes.io/aws-ebs"
,
Provisioner
:
"kubernetes.io/aws-ebs"
,
Parameters
:
map
[
string
]
string
{
Parameters
:
map
[
string
]
string
{
"type"
:
"gp2"
,
"type"
:
"gp2"
,
"zone"
:
cloudZone
,
"zone"
:
getRandomClusterZone
(
c
)
,
},
},
ClaimSize
:
"1.5Gi"
,
ClaimSize
:
"1.5Gi"
,
ExpectedSize
:
"2Gi"
,
ExpectedSize
:
"2Gi"
,
...
...
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