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
a8b1fd81
Commit
a8b1fd81
authored
Mar 25, 2015
by
Daniel Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change the way the density test is enabled
parent
46751acf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
density.go
test/e2e/density.go
+5
-5
driver.go
test/e2e/driver.go
+5
-0
No files found.
test/e2e/density.go
View file @
a8b1fd81
...
...
@@ -166,11 +166,11 @@ func RunRC(c *client.Client, name string, ns, image string, replicas int) {
Expect
(
current
)
.
To
(
Equal
(
replicas
))
}
// This test suite can take a long time to run, so by default it is
disabled
//
by being marked as Pending. To enable this suite, remove the P from the
//
front of PDescribe (PDescribe->Describe) and then all tests will
//
be available
var
_
=
P
Describe
(
"Density"
,
func
()
{
// This test suite can take a long time to run, so by default it is
added to
//
the ginkgo.skip list (see driver.go).
//
To run this suite you must explicitly ask for it by setting the
//
-t/--test flag or ginkgo.focus flag.
var
_
=
Describe
(
"Density"
,
func
()
{
var
c
*
client
.
Client
var
minionCount
int
var
RCName
string
...
...
test/e2e/driver.go
View file @
a8b1fd81
...
...
@@ -70,6 +70,11 @@ func RunE2ETests(kubeConfig, authConfig, certDir, host, repoRoot, provider strin
config
.
GinkgoConfig
.
FocusString
=
`\b(`
+
strings
.
Join
(
testRegexps
,
"|"
)
+
`)\b`
}
// Disable density test unless it's explicitly requested.
if
config
.
GinkgoConfig
.
FocusString
==
""
&&
config
.
GinkgoConfig
.
SkipString
==
""
{
config
.
GinkgoConfig
.
SkipString
=
"Density"
}
// TODO: Make orderseed work again.
var
passed
testResult
=
true
...
...
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