a) porting e2e_node lifecycle testcases into e2e folder, under common.

b) placing them under conformance golden list.
This commit is contained in:
Maria Alejandra Kurylec 2018-08-07 19:01:04 -03:00
parent 6800f9e144
commit f79d5a19d4
4 changed files with 12 additions and 2 deletions

View File

@ -92,6 +92,10 @@ test/e2e/common/init_container.go: "should invoke init containers on a RestartAl
test/e2e/common/init_container.go: "should not start app containers if init containers fail on a RestartAlways pod" test/e2e/common/init_container.go: "should not start app containers if init containers fail on a RestartAlways pod"
test/e2e/common/init_container.go: "should not start app containers and fail the pod if init containers fail on a RestartNever pod" test/e2e/common/init_container.go: "should not start app containers and fail the pod if init containers fail on a RestartNever pod"
test/e2e/common/kubelet_etc_hosts.go: "should test kubelet managed /etc/hosts file" test/e2e/common/kubelet_etc_hosts.go: "should test kubelet managed /etc/hosts file"
test/e2e/common/lifecycle_hook.go: "should execute poststart exec hook properly"
test/e2e/common/lifecycle_hook.go: "should execute prestop exec hook properly"
test/e2e/common/lifecycle_hook.go: "should execute poststart http hook properly"
test/e2e/common/lifecycle_hook.go: "should execute prestop http hook properly"
test/e2e/common/networking.go: "should function for intra-pod communication: http" test/e2e/common/networking.go: "should function for intra-pod communication: http"
test/e2e/common/networking.go: "should function for intra-pod communication: udp" test/e2e/common/networking.go: "should function for intra-pod communication: udp"
test/e2e/common/networking.go: "should function for node-pod communication: http" test/e2e/common/networking.go: "should function for node-pod communication: http"
@ -181,3 +185,9 @@ test/e2e/storage/subpath.go: "should support subpaths with configmap pod"
test/e2e/storage/subpath.go: "should support subpaths with configmap pod with mountPath of existing file" test/e2e/storage/subpath.go: "should support subpaths with configmap pod with mountPath of existing file"
test/e2e/storage/subpath.go: "should support subpaths with downward pod" test/e2e/storage/subpath.go: "should support subpaths with downward pod"
test/e2e/storage/subpath.go: "should support subpaths with projected pod" test/e2e/storage/subpath.go: "should support subpaths with projected pod"
test/e2e_node/kubelet_test.go: "it should print the output to logs"
test/e2e_node/kubelet_test.go: "it should not write to root filesystem"
test/e2e_node/mirror_pod_test.go: "should be updated when static pod updated"
test/e2e_node/mirror_pod_test.go: "should be recreated when mirror pod gracefully deleted"
test/e2e_node/mirror_pod_test.go: "should be recreated when mirror pod forcibly deleted"
test/e2e_node/runtime_conformance_test.go: "it should run with the expected status"

View File

@ -22,6 +22,7 @@ go_library(
"host_path.go", "host_path.go",
"init_container.go", "init_container.go",
"kubelet_etc_hosts.go", "kubelet_etc_hosts.go",
"lifecycle_hook.go",
"networking.go", "networking.go",
"pods.go", "pods.go",
"privileged.go", "privileged.go",

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
package e2e_node package common
import ( import (
"time" "time"

View File

@ -93,7 +93,6 @@ go_test(
"hugepages_test.go", "hugepages_test.go",
"image_id_test.go", "image_id_test.go",
"kubelet_test.go", "kubelet_test.go",
"lifecycle_hook_test.go",
"log_path_test.go", "log_path_test.go",
"mirror_pod_test.go", "mirror_pod_test.go",
"node_container_manager_test.go", "node_container_manager_test.go",