mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 04:36:00 +00:00
Tag conformance tests with a [Conformance] string in the description
- remove skip list from conformance-test.sh and filter by the new tag - remove experimental api tests from conformance test suite - remove all tests from conformance test suite which are either restricted to e.g. gce, gke, aws or require SSH
This commit is contained in:
@@ -132,7 +132,7 @@ func testHostIP(c *client.Client, ns string, pod *api.Pod) {
|
||||
var _ = Describe("Pods", func() {
|
||||
framework := NewFramework("pods")
|
||||
|
||||
PIt("should get a host IP", func() {
|
||||
PIt("should get a host IP [Conformance]", func() {
|
||||
name := "pod-hostip-" + string(util.NewUUID())
|
||||
testHostIP(framework.Client, framework.Namespace.Name, &api.Pod{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
@@ -149,7 +149,7 @@ var _ = Describe("Pods", func() {
|
||||
})
|
||||
})
|
||||
|
||||
It("should be schedule with cpu and memory limits", func() {
|
||||
It("should be schedule with cpu and memory limits [Conformance]", func() {
|
||||
podClient := framework.Client.Pods(framework.Namespace.Name)
|
||||
|
||||
By("creating the pod")
|
||||
@@ -186,7 +186,7 @@ var _ = Describe("Pods", func() {
|
||||
expectNoError(framework.WaitForPodRunning(pod.Name))
|
||||
})
|
||||
|
||||
It("should be submitted and removed", func() {
|
||||
It("should be submitted and removed [Conformance]", func() {
|
||||
podClient := framework.Client.Pods(framework.Namespace.Name)
|
||||
|
||||
By("creating the pod")
|
||||
@@ -294,7 +294,7 @@ var _ = Describe("Pods", func() {
|
||||
Expect(len(pods.Items)).To(Equal(0))
|
||||
})
|
||||
|
||||
It("should be updated", func() {
|
||||
It("should be updated [Conformance]", func() {
|
||||
podClient := framework.Client.Pods(framework.Namespace.Name)
|
||||
|
||||
By("creating the pod")
|
||||
@@ -376,7 +376,7 @@ var _ = Describe("Pods", func() {
|
||||
Logf("Pod update OK")
|
||||
})
|
||||
|
||||
It("should contain environment variables for services", func() {
|
||||
It("should contain environment variables for services [Conformance]", func() {
|
||||
// Make a pod that will be a service.
|
||||
// This pod serves its hostname via HTTP.
|
||||
serverName := "server-envvars-" + string(util.NewUUID())
|
||||
@@ -463,7 +463,7 @@ var _ = Describe("Pods", func() {
|
||||
})
|
||||
})
|
||||
|
||||
It("should be restarted with a docker exec \"cat /tmp/health\" liveness probe", func() {
|
||||
It("should be restarted with a docker exec \"cat /tmp/health\" liveness probe [Conformance]", func() {
|
||||
runLivenessTest(framework.Client, framework.Namespace.Name, &api.Pod{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Name: "liveness-exec",
|
||||
@@ -489,7 +489,7 @@ var _ = Describe("Pods", func() {
|
||||
}, 1, defaultObservationTimeout)
|
||||
})
|
||||
|
||||
It("should *not* be restarted with a docker exec \"cat /tmp/health\" liveness probe", func() {
|
||||
It("should *not* be restarted with a docker exec \"cat /tmp/health\" liveness probe [Conformance]", func() {
|
||||
runLivenessTest(framework.Client, framework.Namespace.Name, &api.Pod{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Name: "liveness-exec",
|
||||
@@ -515,7 +515,7 @@ var _ = Describe("Pods", func() {
|
||||
}, 0, defaultObservationTimeout)
|
||||
})
|
||||
|
||||
It("should be restarted with a /healthz http liveness probe", func() {
|
||||
It("should be restarted with a /healthz http liveness probe [Conformance]", func() {
|
||||
runLivenessTest(framework.Client, framework.Namespace.Name, &api.Pod{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Name: "liveness-http",
|
||||
@@ -542,7 +542,7 @@ var _ = Describe("Pods", func() {
|
||||
}, 1, defaultObservationTimeout)
|
||||
})
|
||||
|
||||
It("should have monotonically increasing restart count", func() {
|
||||
It("should have monotonically increasing restart count [Conformance]", func() {
|
||||
runLivenessTest(framework.Client, framework.Namespace.Name, &api.Pod{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Name: "liveness-http",
|
||||
@@ -569,7 +569,7 @@ var _ = Describe("Pods", func() {
|
||||
}, 5, time.Minute*5)
|
||||
})
|
||||
|
||||
It("should *not* be restarted with a /healthz http liveness probe", func() {
|
||||
It("should *not* be restarted with a /healthz http liveness probe [Conformance]", func() {
|
||||
runLivenessTest(framework.Client, framework.Namespace.Name, &api.Pod{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Name: "liveness-http",
|
||||
|
Reference in New Issue
Block a user