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
0c75dd22
Commit
0c75dd22
authored
Jul 10, 2017
by
Shyam Jeedigunta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move performance tests to test/e2e/scalability subdirectory
parent
b8f1bb41
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
BUILD
test/e2e/BUILD
+2
-4
e2e_test.go
test/e2e/e2e_test.go
+1
-1
BUILD
test/e2e/scalability/BUILD
+1
-0
OWNERS
test/e2e/scalability/OWNERS
+3
-1
density.go
test/e2e/scalability/density.go
+1
-1
empty.go
test/e2e/scalability/empty.go
+2
-3
load.go
test/e2e/scalability/load.go
+1
-1
No files found.
test/e2e/BUILD
View file @
0c75dd22
...
...
@@ -25,7 +25,7 @@ go_test(
"//test/e2e/extension:go_default_library",
"//test/e2e/framework:go_default_library",
"//test/e2e/metrics:go_default_library",
"//test/e2e/
perf
:go_default_library",
"//test/e2e/
scalability
:go_default_library",
"//test/e2e/scheduling:go_default_library",
"//test/e2e/storage:go_default_library",
"//test/e2e/workload:go_default_library",
...
...
@@ -58,7 +58,6 @@ go_library(
"dns_common.go",
"dns_configmap.go",
"e2e.go",
"empty.go",
"empty_dir_wrapper.go",
"etcd_failure.go",
"events.go",
...
...
@@ -140,7 +139,6 @@ go_library(
"//test/e2e/generated:go_default_library",
"//test/e2e/manifest:go_default_library",
"//test/e2e/metrics:go_default_library",
"//test/e2e/perf:go_default_library",
"//test/e2e/scheduling:go_default_library",
"//test/e2e/upgrades:go_default_library",
"//test/e2e/workload:go_default_library",
...
...
@@ -229,8 +227,8 @@ filegroup(
"//test/e2e/generated:all-srcs",
"//test/e2e/manifest:all-srcs",
"//test/e2e/metrics:all-srcs",
"//test/e2e/perf:all-srcs",
"//test/e2e/perftype:all-srcs",
"//test/e2e/scalability:all-srcs",
"//test/e2e/scheduling:all-srcs",
"//test/e2e/storage:all-srcs",
"//test/e2e/testing-manifests:all-srcs",
...
...
test/e2e/e2e_test.go
View file @
0c75dd22
...
...
@@ -24,7 +24,7 @@ import (
_
"k8s.io/kubernetes/test/e2e/cluster-logging"
_
"k8s.io/kubernetes/test/e2e/extension"
"k8s.io/kubernetes/test/e2e/framework"
_
"k8s.io/kubernetes/test/e2e/
perf
"
_
"k8s.io/kubernetes/test/e2e/
scalability
"
_
"k8s.io/kubernetes/test/e2e/scheduling"
_
"k8s.io/kubernetes/test/e2e/storage"
_
"k8s.io/kubernetes/test/e2e/workload"
...
...
test/e2e/
perf
/BUILD
→
test/e2e/
scalability
/BUILD
View file @
0c75dd22
...
...
@@ -11,6 +11,7 @@ go_library(
name = "go_default_library",
srcs = [
"density.go",
"empty.go",
"load.go",
],
tags = ["automanaged"],
...
...
test/e2e/
perf
/OWNERS
→
test/e2e/
scalability
/OWNERS
View file @
0c75dd22
approvers:
- gmarek
- shyamjvs
- wojtek-t
reviewers:
- gmarek
-
wojtek-t
-
shyamjvs
- timothysc
- wojtek-t
test/e2e/
perf
/density.go
→
test/e2e/
scalability
/density.go
View file @
0c75dd22
...
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package
perf
package
scalability
import
(
"fmt"
...
...
test/e2e/empty.go
→
test/e2e/
scalability/
empty.go
View file @
0c75dd22
...
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package
e2e
package
scalability
import
(
"time"
...
...
@@ -22,7 +22,6 @@ import (
"k8s.io/api/core/v1"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/test/e2e/framework"
"k8s.io/kubernetes/test/e2e/perf"
.
"github.com/onsi/ginkgo"
)
...
...
@@ -43,7 +42,7 @@ var _ = framework.KubeDescribe("Empty [Feature:Empty]", func() {
})
It
(
"starts a pod"
,
func
()
{
configs
,
_
,
_
:=
perf
.
GenerateConfigsForGroup
([]
*
v1
.
Namespace
{
f
.
Namespace
},
"empty-pod"
,
1
,
1
,
framework
.
GetPauseImageName
(
f
.
ClientSet
),
[]
string
{},
api
.
Kind
(
"ReplicationController"
),
0
,
0
)
configs
,
_
,
_
:=
GenerateConfigsForGroup
([]
*
v1
.
Namespace
{
f
.
Namespace
},
"empty-pod"
,
1
,
1
,
framework
.
GetPauseImageName
(
f
.
ClientSet
),
[]
string
{},
api
.
Kind
(
"ReplicationController"
),
0
,
0
)
if
len
(
configs
)
!=
1
{
framework
.
Failf
(
"generateConfigs should have generated single config"
)
}
...
...
test/e2e/
perf
/load.go
→
test/e2e/
scalability
/load.go
View file @
0c75dd22
...
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package
perf
package
scalability
import
(
"fmt"
...
...
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