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
ae8a0469
Unverified
Commit
ae8a0469
authored
Sep 12, 2018
by
k8s-ci-robot
Committed by
GitHub
Sep 12, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #68556 from shyamjvs/remove-deprecated-e2e-test
Remove deprecated [Feature:Empty] test
parents
9b8b6571
bf81201b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
55 deletions
+0
-55
BUILD
test/e2e/scalability/BUILD
+0
-1
empty.go
test/e2e/scalability/empty.go
+0
-54
No files found.
test/e2e/scalability/BUILD
View file @
ae8a0469
...
@@ -4,7 +4,6 @@ go_library(
...
@@ -4,7 +4,6 @@ go_library(
name = "go_default_library",
name = "go_default_library",
srcs = [
srcs = [
"density.go",
"density.go",
"empty.go",
"framework.go",
"framework.go",
"load.go",
"load.go",
],
],
...
...
test/e2e/scalability/empty.go
deleted
100644 → 0
View file @
9b8b6571
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
scalability
import
(
"time"
"k8s.io/api/core/v1"
api
"k8s.io/kubernetes/pkg/apis/core"
"k8s.io/kubernetes/test/e2e/framework"
imageutils
"k8s.io/kubernetes/test/utils/image"
.
"github.com/onsi/ginkgo"
)
var
_
=
SIGDescribe
(
"Empty [Feature:Empty]"
,
func
()
{
f
:=
framework
.
NewDefaultFramework
(
"empty"
)
BeforeEach
(
func
()
{
c
:=
f
.
ClientSet
ns
:=
f
.
Namespace
.
Name
// TODO: respect --allow-notready-nodes flag in those functions.
framework
.
ExpectNoError
(
framework
.
WaitForAllNodesSchedulable
(
c
,
framework
.
TestContext
.
NodeSchedulableTimeout
))
framework
.
WaitForAllNodesHealthy
(
c
,
time
.
Minute
)
err
:=
framework
.
CheckTestingNSDeletedExcept
(
c
,
ns
)
framework
.
ExpectNoError
(
err
)
})
It
(
"starts a pod"
,
func
()
{
configs
,
_
,
_
:=
GenerateConfigsForGroup
([]
*
v1
.
Namespace
{
f
.
Namespace
},
"empty-pod"
,
1
,
1
,
imageutils
.
GetPauseImageName
(),
[]
string
{},
api
.
Kind
(
"ReplicationController"
),
0
,
0
)
if
len
(
configs
)
!=
1
{
framework
.
Failf
(
"generateConfigs should have generated single config"
)
}
config
:=
configs
[
0
]
config
.
SetClient
(
f
.
ClientSet
)
framework
.
ExpectNoError
(
config
.
Run
())
})
})
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