Skip to content

Commit 3a8e84c

Browse files
committed
Move ownership of core events test to sig-instrumentation
1 parent cc4bd51 commit 3a8e84c

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

test/conformance/testdata/conformance.yaml

+15-15
Original file line numberDiff line numberDiff line change
@@ -317,21 +317,6 @@
317317
return a valid PreferredVersion unless the group suffix is example.com.
318318
release: v1.19
319319
file: test/e2e/apimachinery/discovery.go
320-
- testname: Event, delete a collection
321-
codename: '[sig-api-machinery] Events should delete a collection of events [Conformance]'
322-
description: A set of events is created with a label selector which MUST be found
323-
when listed. The set of events is deleted and MUST NOT show up when listed by
324-
its label selector.
325-
release: v1.20
326-
file: test/e2e/apimachinery/events.go
327-
- testname: Event resource lifecycle
328-
codename: '[sig-api-machinery] Events should ensure that an event can be fetched,
329-
patched, deleted, and listed [Conformance]'
330-
description: Create an event, the event MUST exist. The event is patched with a
331-
new message, the check MUST have the update message. The event is deleted and
332-
MUST NOT show up when listing all events.
333-
release: v1.20
334-
file: test/e2e/apimachinery/events.go
335320
- testname: Garbage Collector, delete deployment, propagation policy background
336321
codename: '[sig-api-machinery] Garbage collector should delete RS created by deployment
337322
when not orphaning [Conformance]'
@@ -1058,6 +1043,21 @@
10581043
show up when listing all events.
10591044
release: v1.19
10601045
file: test/e2e/instrumentation/events.go
1046+
- testname: Event, delete a collection
1047+
codename: '[sig-instrumentation] Events should delete a collection of events [Conformance]'
1048+
description: A set of events is created with a label selector which MUST be found
1049+
when listed. The set of events is deleted and MUST NOT show up when listed by
1050+
its label selector.
1051+
release: v1.20
1052+
file: test/e2e/instrumentation/core_events.go
1053+
- testname: Event resource lifecycle
1054+
codename: '[sig-instrumentation] Events should ensure that an event can be fetched,
1055+
patched, deleted, and listed [Conformance]'
1056+
description: Create an event, the event MUST exist. The event is patched with a
1057+
new message, the check MUST have the update message. The event is deleted and
1058+
MUST NOT show up when listing all events.
1059+
release: v1.20
1060+
file: test/e2e/instrumentation/core_events.go
10611061
- testname: DNS, cluster
10621062
codename: '[sig-network] DNS should provide /etc/hosts entries for the cluster [LinuxOnly]
10631063
[Conformance]'

test/e2e/apimachinery/events.go renamed to test/e2e/instrumentation/core_events.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package apimachinery
17+
package instrumentation
1818

1919
import (
2020
"context"
@@ -25,6 +25,7 @@ import (
2525
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2626
"k8s.io/apimachinery/pkg/util/wait"
2727
"k8s.io/kubernetes/test/e2e/framework"
28+
"k8s.io/kubernetes/test/e2e/instrumentation/common"
2829

2930
"github.com/onsi/ginkgo"
3031
"k8s.io/apimachinery/pkg/types"
@@ -35,7 +36,7 @@ const (
3536
eventRetryTimeout = 1 * time.Minute
3637
)
3738

38-
var _ = SIGDescribe("Events", func() {
39+
var _ = common.SIGDescribe("Events", func() {
3940
f := framework.NewDefaultFramework("events")
4041

4142
/*

0 commit comments

Comments
 (0)