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
e1f7c583
Commit
e1f7c583
authored
Apr 06, 2015
by
jayunit100
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E2E: parameter logs to inside of It declarations.
parent
88735f1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
density.go
test/e2e/density.go
+1
-3
No files found.
test/e2e/density.go
View file @
e1f7c583
...
@@ -236,8 +236,6 @@ var _ = Describe("Density", func() {
...
@@ -236,8 +236,6 @@ var _ = Describe("Density", func() {
//cannot do a range iterator over structs.
//cannot do a range iterator over structs.
dtest
:=
dtests
[
i
]
dtest
:=
dtests
[
i
]
glog
.
Info
(
"Density test parameters: %v"
,
dtest
)
//if ppm==0, its a raw density test.
//if ppm==0, its a raw density test.
//otherwise, we continue launching n nodes per pod in threads till we meet the totalPods #.
//otherwise, we continue launching n nodes per pod in threads till we meet the totalPods #.
if
dtest
.
podsPerMinion
==
0
{
if
dtest
.
podsPerMinion
==
0
{
...
@@ -248,10 +246,10 @@ var _ = Describe("Density", func() {
...
@@ -248,10 +246,10 @@ var _ = Describe("Density", func() {
name
=
"[Skipped] "
+
name
name
=
"[Skipped] "
+
name
}
}
It
(
name
,
func
()
{
It
(
name
,
func
()
{
glog
.
Info
(
"Density test parameters: %v"
,
dtest
)
RCName
=
"my-hostname-density"
+
strconv
.
Itoa
(
dtest
.
totalPods
)
+
"-"
+
string
(
util
.
NewUUID
())
RCName
=
"my-hostname-density"
+
strconv
.
Itoa
(
dtest
.
totalPods
)
+
"-"
+
string
(
util
.
NewUUID
())
RunRC
(
c
,
RCName
,
ns
,
"gcr.io/google_containers/pause:go"
,
dtest
.
totalPods
)
RunRC
(
c
,
RCName
,
ns
,
"gcr.io/google_containers/pause:go"
,
dtest
.
totalPods
)
})
})
glog
.
Info
(
"moving on, test already finished...."
)
}
else
{
}
else
{
// # of threads calibrate to totalPods
// # of threads calibrate to totalPods
threads
:=
(
dtest
.
totalPods
/
(
dtest
.
podsPerMinion
*
dtest
.
rcsPerThread
))
threads
:=
(
dtest
.
totalPods
/
(
dtest
.
podsPerMinion
*
dtest
.
rcsPerThread
))
...
...
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