kubernetes/test/conformance
Kubernetes Submit Queue 1b033f64a1
Merge pull request #66921 from mgdevstack/NodeConformance-InitContainer
Automatic merge from submit-queue (batch tested with PRs 58058, 67033, 66921, 66956). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Promoting InitContainer [NodeConformance] e2e tests for Conformance

**What this PR does / why we need it**:

1. Promotes mentioned 4 InitContainer [NodeConformance] tests for Conformance
2. Validates different PodPhases effectively
3. Improves API coverage mentioned in #66124 .

E2E tests -
1. InitContainer [NodeConformance] should invoke init containers on a RestartNever pod
2. InitContainer [NodeConformance] should invoke init containers on a RestartAlways pod
3. InitContainer [NodeConformance] should not start app containers if init containers fail on a RestartAlways pod
4. InitContainer [NodeConformance] should not start app containers and fail the pod if init containers fail on a RestartNever pod

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #66124 

**Special notes for your reviewer**:


**Release note**:

```release-note
NONE
```
/area conformance
@kubernetes/sig-node-pr-reviews
2018-08-06 17:01:11 -07:00
..
testdata Merge pull request #66921 from mgdevstack/NodeConformance-InitContainer 2018-08-06 17:01:11 -07:00
BUILD Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
cf_header.md Create Conformance document to display all tests that belong to Conformance suite 2018-01-15 14:17:48 -08:00
conformance_test.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
OWNERS Add conformance test regression test. 2017-10-27 15:31:20 -07:00
README.md Add README.md to test/conformance. 2017-11-10 11:02:11 -08:00
walk_test.go conformance: normalize the test names 2018-05-23 12:49:31 -07:00
walk.go conformance: normalize the test names 2018-05-23 12:49:31 -07:00

This directory contains the regression test for controlling the list of all conformance tests.

If you add or remove a conformance test, this test will fail and you will need to update the golden list of tests stored in testdata/. Changes to that file require review by sig-architecture.

To update the list, run

$ bazel build //test/conformance:list_conformance_tests
$ cp bazel-genfiles/test/conformance/conformance.txt test/conformance/testdata

Add the changed file to your PR, then send for review.