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
411cbd03
Commit
411cbd03
authored
Aug 09, 2017
by
Gavin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move taints e2e test to sig-scheduling
delete taints_test file update BUILD fix confict
parent
e0c3eafa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
16 deletions
+24
-16
BUILD
test/e2e/BUILD
+1
-14
BUILD
test/e2e/scheduling/BUILD
+21
-0
taints_test.go
test/e2e/scheduling/taints_test.go
+2
-2
No files found.
test/e2e/BUILD
View file @
411cbd03
...
...
@@ -8,10 +8,7 @@ load(
go_test(
name = "go_default_test",
srcs = [
"e2e_test.go",
"taints_test.go",
],
srcs = ["e2e_test.go"],
library = ":go_default_library",
deps = [
"//test/e2e/apimachinery:go_default_library",
...
...
@@ -29,16 +26,6 @@ go_test(
"//test/e2e/scalability:go_default_library",
"//test/e2e/scheduling:go_default_library",
"//test/e2e/storage:go_default_library",
"//test/utils:go_default_library",
"//vendor/github.com/onsi/ginkgo:go_default_library",
"//vendor/github.com/stretchr/testify/assert:go_default_library",
"//vendor/k8s.io/api/core/v1:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/fields:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/watch:go_default_library",
"//vendor/k8s.io/client-go/kubernetes:go_default_library",
"//vendor/k8s.io/client-go/tools/cache:go_default_library",
],
)
...
...
test/e2e/scheduling/BUILD
View file @
411cbd03
...
...
@@ -3,6 +3,7 @@ package(default_visibility = ["//visibility:public"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
"go_test",
)
go_library(
...
...
@@ -56,3 +57,23 @@ filegroup(
srcs = [":package-srcs"],
tags = ["automanaged"],
)
go_test(
name = "go_default_test",
srcs = ["taints_test.go"],
library = ":go_default_library",
tags = ["automanaged"],
deps = [
"//test/e2e/framework:go_default_library",
"//test/utils:go_default_library",
"//vendor/github.com/onsi/ginkgo:go_default_library",
"//vendor/github.com/stretchr/testify/assert:go_default_library",
"//vendor/k8s.io/api/core/v1:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/fields:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/watch:go_default_library",
"//vendor/k8s.io/client-go/kubernetes:go_default_library",
"//vendor/k8s.io/client-go/tools/cache:go_default_library",
],
)
test/e2e/taints_test.go
→
test/e2e/
scheduling/
taints_test.go
View file @
411cbd03
...
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package
e2e
package
scheduling
import
(
"time"
...
...
@@ -144,7 +144,7 @@ const (
// - lack of eviction of tolerating pods from a tainted node,
// - delayed eviction of short-tolerating pod from a tainted node,
// - lack of eviction of short-tolerating pod after taint removal.
var
_
=
framework
.
Kube
Describe
(
"NoExecuteTaintManager [Serial]"
,
func
()
{
var
_
=
SIG
Describe
(
"NoExecuteTaintManager [Serial]"
,
func
()
{
var
cs
clientset
.
Interface
var
nodeList
*
v1
.
NodeList
var
ns
string
...
...
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