Skip to content

Commit 04627ce

Browse files
committed
Address issues with test failures
1 parent b26c782 commit 04627ce

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

test/conformance/testdata/conformance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@
811811
new message, the check MUST have the update message. The event is deleted and
812812
MUST NOT show up when listing all events.
813813
release: v1.19
814-
file: test/e2e/framework/events/events.go
814+
file: test/e2e/apimachinery/events.go
815815
- testname: Garbage Collector, delete deployment, propagation policy background
816816
codename: '[sig-api-machinery] Garbage collector should delete RS created by deployment
817817
when not orphaning [Conformance]'

test/e2e/apimachinery/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ go_library(
1717
"custom_resource_definition.go",
1818
"discovery.go",
1919
"etcd_failure.go",
20+
"events.go",
2021
"framework.go",
2122
"garbage_collector.go",
2223
"generated_clientset.go",

test/e2e/framework/events/BUILD

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,9 @@ go_library(
66
importpath = "k8s.io/kubernetes/test/e2e/framework/events",
77
visibility = ["//visibility:public"],
88
deps = [
9-
"//staging/src/k8s.io/api/core/v1:go_default_library",
109
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
11-
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
1210
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
1311
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
14-
"//test/e2e/framework:go_default_library",
15-
"//vendor/github.com/onsi/ginkgo:go_default_library",
1612
],
1713
)
1814

test/e2e/framework/events/events.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import (
3030
// Action is a function to be performed by the system.
3131
type Action func() error
3232

33-
3433
// WaitTimeoutForEvent waits the given timeout duration for an event to occur.
3534
func WaitTimeoutForEvent(c clientset.Interface, namespace, eventSelector, msg string, timeout time.Duration) error {
3635
interval := 2 * time.Second

0 commit comments

Comments
 (0)