You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/e2e/apps/rc.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ var _ = SIGDescribe("ReplicationController", func() {
67
67
Testname: Replication Controller, run basic image
68
68
Description: Replication Controller MUST create a Pod with Basic Image and MUST run the service with the provided image. Image MUST be tested by dialing into the service listening through TCP, UDP and HTTP.
69
69
*/
70
-
framework.ConformanceIt("should serve a basic image on each replica with a public image", func(ctx context.Context) {
70
+
framework.ConformanceIt("should serve a basic image on each replica with a public image", func(ctx context.Context) {
Description: Create a Pod and a container with a given image. Configure replication controller to run 2 replicas. The number of running instances of the Pod MUST equal the number of replicas set on the replication controller which is 2.
341
341
*/
342
-
framework.ConformanceIt("should create and stop a replication controller", func(ctx context.Context) {
342
+
framework.ConformanceIt("should create and stop a replication controller", func(ctx context.Context) {
Description: Create a Pod and a container with a given image. Configure replication controller to run 2 replicas. The number of running instances of the Pod MUST equal the number of replicas set on the replication controller which is 2. Update the replicaset to 1. Number of running instances of the Pod MUST be 1. Update the replicaset to 2. Number of running instances of the Pod MUST be 2.
354
354
*/
355
-
framework.ConformanceIt("should scale a replication controller", func(ctx context.Context) {
355
+
framework.ConformanceIt("should scale a replication controller", func(ctx context.Context) {
Description: Create Guestbook application that contains an agnhost primary server, 2 agnhost replicas, frontend application, frontend service and agnhost primary service and agnhost replica service. Using frontend service, the test will write an entry into the guestbook application which will store the entry into the backend agnhost store. Application flow MUST work as expected and the data written MUST be available to read.
396
396
*/
397
-
framework.ConformanceIt("should create and stop a working application", func(ctx context.Context) {
397
+
framework.ConformanceIt("should create and stop a working application", func(ctx context.Context) {
398
398
deferforEachGBFile(func(contentsstring) {
399
399
cleanupKubectlInputs(contents, ns)
400
400
})
@@ -822,7 +822,7 @@ metadata:
822
822
Testname: Kubectl, check version v1
823
823
Description: Run kubectl to get api versions, output MUST contain returned versions with 'v1' listed.
824
824
*/
825
-
framework.ConformanceIt("should check if v1 is in available api versions", func(ctx context.Context) {
825
+
framework.ConformanceIt("should check if v1 is in available api versions", func(ctx context.Context) {
// Can't check exact strings due to terminal control commands (colors)
@@ -1334,7 +1334,7 @@ metadata:
1334
1334
Testname: Kubectl, describe pod or rc
1335
1335
Description: Deploy an agnhost controller and an agnhost service. Kubectl describe pods SHOULD return the name, namespace, labels, state and other information as expected. Kubectl describe on rc, service, node and namespace SHOULD also return proper information.
1336
1336
*/
1337
-
framework.ConformanceIt("should check if kubectl describe prints relevant information for rc and pods", func(ctx context.Context) {
1337
+
framework.ConformanceIt("should check if kubectl describe prints relevant information for rc and pods", func(ctx context.Context) {
Description: Create a Pod running agnhost listening to port 6379. Using kubectl expose the agnhost primary replication controllers at port 1234. Validate that the replication controller is listening on port 1234 and the target port is set to 6379, port that agnhost primary is listening. Using kubectl expose the agnhost primary as a service at port 2345. The service MUST be listening on port 2345 and the target port is set to 6379, port that agnhost primary is listening.
1475
1475
*/
1476
-
framework.ConformanceIt("should create services for rc", func(ctx context.Context) {
1476
+
framework.ConformanceIt("should create services for rc", func(ctx context.Context) {
Description: When a Pod is running, update a Label using 'kubectl label' command. The label MUST be created in the Pod. A 'kubectl get pod' with -l option on the container MUST verify that the label can be read back. Use 'kubectl label label-' to remove the label. 'kubectl get pod' with -l option SHOULD not list the deleted label as the label is removed.
1569
1569
*/
1570
-
framework.ConformanceIt("should update the label on a resource", func(ctx context.Context) {
1570
+
framework.ConformanceIt("should update the label on a resource", func(ctx context.Context) {
1571
1571
labelName:="testing-label"
1572
1572
labelValue:="testing-label-value"
1573
1573
@@ -1633,7 +1633,7 @@ metadata:
1633
1633
Testname: Kubectl, patch to annotate
1634
1634
Description: Start running agnhost and a replication controller. When the pod is running, using 'kubectl patch' command add annotations. The annotation MUST be added to running pods and SHOULD be able to read added annotations from each of the Pods running under the replication controller.
1635
1635
*/
1636
-
framework.ConformanceIt("should add annotations for pods in rc", func(ctx context.Context) {
1636
+
framework.ConformanceIt("should add annotations for pods in rc", func(ctx context.Context) {
Description: The command 'kubectl version' MUST return the major, minor versions, GitCommit, etc of the Client and the Server that the kubectl is configured to connect to.
1668
1668
*/
1669
-
framework.ConformanceIt("should check is all data is printed", func(ctx context.Context) {
1669
+
framework.ConformanceIt("should check is all data is printed", func(ctx context.Context) {
Description: Command 'kubectl run' MUST create a pod, when a image name is specified in the run command. After the run command there SHOULD be a pod that should exist with one container running the specified image.
1701
1701
*/
1702
-
framework.ConformanceIt("should create a pod from an image when restart is Never", func(ctx context.Context) {
1702
+
framework.ConformanceIt("should create a pod from an image when restart is Never", func(ctx context.Context) {
ginkgo.By("verifying the pod "+podName+" was created")
@@ -1733,7 +1733,7 @@ metadata:
1733
1733
Testname: Kubectl, replace
1734
1734
Description: Command 'kubectl replace' on a existing Pod with a new spec MUST update the image of the container running in the Pod. A -f option to 'kubectl replace' SHOULD force to re-create the resource. The new Pod SHOULD have the container with new change to the image.
1735
1735
*/
1736
-
framework.ConformanceIt("should update a single-container pod's image", func(ctx context.Context) {
1736
+
framework.ConformanceIt("should update a single-container pod's image", func(ctx context.Context) {
Description: Start a proxy server on port zero by running 'kubectl proxy' with --port=0. Call the proxy server by requesting api versions from unix socket. The proxy server MUST provide at least one version string.
1775
1775
*/
1776
-
framework.ConformanceIt("should support proxy with --port 0", func(ctx context.Context) {
1776
+
framework.ConformanceIt("should support proxy with --port 0", func(ctx context.Context) {
1777
1777
ginkgo.By("starting the proxy server")
1778
1778
port, cmd, err:=startProxyServer(ns)
1779
1779
ifcmd!=nil {
@@ -1798,7 +1798,7 @@ metadata:
1798
1798
Testname: Kubectl, proxy socket
1799
1799
Description: Start a proxy server on by running 'kubectl proxy' with --unix-socket=<some path>. Call the proxy server by requesting api versions from http://locahost:0/api. The proxy server MUST provide at least one version string
1800
1800
*/
1801
-
framework.ConformanceIt("should support --unix-socket=/path", func(ctx context.Context) {
1801
+
framework.ConformanceIt("should support --unix-socket=/path", func(ctx context.Context) {
Copy file name to clipboardExpand all lines: test/e2e/network/dns.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ var _ = common.SIGDescribe("DNS", func() {
47
47
Testname: DNS, cluster
48
48
Description: When a Pod is created, the pod MUST be able to resolve cluster dns entries such as kubernetes.default via DNS.
49
49
*/
50
-
framework.ConformanceIt("should provide DNS for the cluster", func(ctx context.Context) {
50
+
framework.ConformanceIt("should provide DNS for the cluster", func(ctx context.Context) {
51
51
// All the names we need to be able to resolve.
52
52
// TODO: Spin up a separate test service and test that dns works for that service.
53
53
// NOTE: This only contains the FQDN and the Host name, for testing partial name, see the test below
@@ -134,7 +134,7 @@ var _ = common.SIGDescribe("DNS", func() {
134
134
Testname: DNS, services
135
135
Description: When a headless service is created, the service MUST be able to resolve all the required service endpoints. When the service is created, any pod in the same namespace must be able to resolve the service by all of the expected DNS names.
136
136
*/
137
-
framework.ConformanceIt("should provide DNS for services", func(ctx context.Context) {
137
+
framework.ConformanceIt("should provide DNS for services", func(ctx context.Context) {
138
138
// NOTE: This only contains the FQDN and the Host name, for testing partial name, see the test below
0 commit comments