Skip to content

Commit

Permalink
Remove unneccessary env variables in test-defs and adjust readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegLoewen committed Jun 25, 2019
1 parent d668a03 commit 537cc7c
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .test-defs/allE2eTestgrid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ spec:
- type: env
name: TESTCASE_GROUPS
value: 'fast,slow'
- type: env
name: DESCRIPTION_FILE
value: "working.json"

command: [bash, -c]
args: go run $GOPATH/src/github.com/gardener/test-infra/test/e2etest
Expand Down
3 changes: 0 additions & 3 deletions .test-defs/conformanceTestgrid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ spec:
- type: env
name: GINKGO_PARALLEL
value: "false"
- type: env
name: DESCRIPTION_FILE
value: "working.json"

command: [bash, -c]
args: go run $GOPATH/src/github.com/gardener/test-infra/test/e2etest
Expand Down
3 changes: 0 additions & 3 deletions .test-defs/e2eFast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ spec:
- type: env
name: TESTCASE_GROUPS
value: 'fast'
- type: env
name: DESCRIPTION_FILE
value: "working.json"

command: [bash, -c]
args: go run $GOPATH/src/github.com/gardener/test-infra/test/e2etest
Expand Down
3 changes: 0 additions & 3 deletions .test-defs/e2eSlow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ spec:
- type: env
name: TESTCASE_GROUPS
value: 'slow'
- type: env
name: DESCRIPTION_FILE
value: "working.json"

command: [bash, -c]
args: go run $GOPATH/src/github.com/gardener/test-infra/test/e2etest
Expand Down
2 changes: 1 addition & 1 deletion test/e2etest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Ensure all required environment variables have been set. Create a `shoot.config`

| Environment Variable | Default | Description |
|---|---|---|
| DESCRIPTION_FILE | | **[Required]** Path to description json file, which lists the testcases to run |
| K8S_VERSION | | **[Required]** Kubernetes cluster version |
| TESTCASE_GROUPS | | **[Required]** testcases groups to run (comma separated). E.g. `fast,slow` |
| CLOUDPROVIDER | | **[Required]** Cloud provider (supported: aws, gcp, azure, alicloud, openstack) |
| DESCRIPTION_FILE | working.json | Path to description json file, which lists the testcases to run |
| EXPORT_PATH | /tmp/e2e/export | Location of `shoot.config` file and test results |
| GINKGO_PARALLEL | true | Whether to run kubetest in parallel way. Testcases that consist of the `[Serial] tag are executed serially. |
| IGNORE_FALSE_POSITIVE_LIST | false | Ignores exclusion of testcases that are listed in `false_positive.json` |
Expand Down
1 change: 1 addition & 0 deletions test/e2etest/kubetest/results_evaluator.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func Analyze(kubetestResultsPath string) Summary {
summary := analyzeE2eLogs(e2eLogFilePaths)
junitXMLFilePaths := util.GetFilesByPattern(kubetestResultsPath, JunitXmlFileNamePattern)
analyzeJunitXMLs(junitXMLFilePaths, summary.TestsuiteDuration)
log.Infof("Check out result files in %s", kubetestResultsPath)
return summary
}

Expand Down

0 comments on commit 537cc7c

Please sign in to comment.