Skip to content

Commit

Permalink
ci-operator/templates: Remove TEST_SUITE(_SERIAL)
Browse files Browse the repository at this point in the history
The last consumer was removed in 7ea9239 (Change job focus for
image-registry e2e, 2018-05-21, openshift#874).  And the origin extended.test
deprecated -suite in favor of focus in openshift/origin@83d9db89 (Make
focus and skip a lot easier to use in extended tests, 2017-08-22,
openshift/origin#15915).
  • Loading branch information
wking committed Aug 22, 2018
1 parent 334748c commit 8561f18
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 20 deletions.
10 changes: 4 additions & 6 deletions ci-operator/templates/cluster-launch-e2e-gmontero-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ parameters:
required: true
- name: CLUSTER_TYPE
required: true
- name: TEST_SUITE
- name: TEST_FOCUS
- name: TEST_SKIP
value: "\\[local\\]"
- name: TEST_SUITE_SERIAL
- name: TEST_FOCUS_SERIAL
- name: TEST_SKIP_SERIAL
value: "\\[local\\]"
Expand Down Expand Up @@ -233,15 +231,15 @@ objects:
# autodetected from the running cluster.
# TODO: bump nodes up to 40 again
set -x
if [[ -n "${TEST_SUITE}" || -n "${TEST_FOCUS}" ]]; then
if [[ -n "${TEST_FOCUS}" ]]; then
ginkgo -v -noColor -nodes=30 $( which extended.test ) -- \
-suite "${TEST_SUITE}" -ginkgo.focus="${TEST_FOCUS}" -ginkgo.skip="${TEST_SKIP}" \
-ginkgo.focus="${TEST_FOCUS}" -ginkgo.skip="${TEST_SKIP}" \
-e2e-output-dir /tmp/artifacts -report-dir /tmp/artifacts/junit \
-test.timeout=2h ${PROVIDER_ARGS-} || rc=$?
fi
if [[ -n "${TEST_SUITE_SERIAL}" || -n "${TEST_FOCUS_SERIAL}" ]]; then
if [[ -n "${TEST_FOCUS_SERIAL}" ]]; then
ginkgo -v -noColor -nodes=1 $( which extended.test ) -- \
-suite "${TEST_SUITE_SERIAL}" -ginkgo.focus="${TEST_FOCUS_SERIAL}" -ginkgo.skip="${TEST_SKIP_SERIAL}" \
-ginkgo.focus="${TEST_FOCUS_SERIAL}" -ginkgo.skip="${TEST_SKIP_SERIAL}" \
-e2e-output-dir /tmp/artifacts -report-dir /tmp/artifacts/junit/serial \
-test.timeout=2h ${PROVIDER_ARGS-} || rc=$?
fi
Expand Down
10 changes: 4 additions & 6 deletions ci-operator/templates/cluster-launch-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ parameters:
required: true
- name: CLUSTER_TYPE
required: true
- name: TEST_SUITE
- name: TEST_FOCUS
- name: TEST_SKIP
value: "\\[local\\]"
- name: TEST_SUITE_SERIAL
- name: TEST_FOCUS_SERIAL
- name: TEST_SKIP_SERIAL
value: "\\[local\\]"
Expand Down Expand Up @@ -149,15 +147,15 @@ objects:
# autodetected from the running cluster.
# TODO: bump nodes up to 40 again
set -x
if [[ -n "${TEST_SUITE}" || -n "${TEST_FOCUS}" ]]; then
if [[ -n "${TEST_FOCUS}" ]]; then
ginkgo -v -noColor -nodes=30 $( which extended.test ) -- \
-suite "${TEST_SUITE}" -ginkgo.focus="${TEST_FOCUS}" -ginkgo.skip="${TEST_SKIP}" \
-ginkgo.focus="${TEST_FOCUS}" -ginkgo.skip="${TEST_SKIP}" \
-e2e-output-dir /tmp/artifacts -report-dir /tmp/artifacts/junit \
-test.timeout=2h ${PROVIDER_ARGS-} || rc=$?
fi
if [[ -n "${TEST_SUITE_SERIAL}" || -n "${TEST_FOCUS_SERIAL}" ]]; then
if [[ -n "${TEST_FOCUS_SERIAL}" ]]; then
ginkgo -v -noColor -nodes=1 $( which extended.test ) -- \
-suite "${TEST_SUITE_SERIAL}" -ginkgo.focus="${TEST_FOCUS_SERIAL}" -ginkgo.skip="${TEST_SKIP_SERIAL}" \
-ginkgo.focus="${TEST_FOCUS_SERIAL}" -ginkgo.skip="${TEST_SKIP_SERIAL}" \
-e2e-output-dir /tmp/artifacts -report-dir /tmp/artifacts/junit/serial \
-test.timeout=2h ${PROVIDER_ARGS-} || rc=$?
fi
Expand Down
10 changes: 4 additions & 6 deletions ci-operator/templates/cluster-launch-installer-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ parameters:
required: true
- name: CLUSTER_TYPE
required: true
- name: TEST_SUITE
- name: TEST_FOCUS
- name: TEST_SKIP
- name: TEST_SUITE_SERIAL
- name: TEST_FOCUS_SERIAL
- name: TEST_SKIP_SERIAL

Expand Down Expand Up @@ -144,15 +142,15 @@ objects:
# autodetected from the running cluster.
# TODO: bump nodes up to 40 again
set -x
if [[ -n "${TEST_SUITE}" || -n "${TEST_FOCUS}" ]]; then
if [[ -n "${TEST_FOCUS}" ]]; then
ginkgo -v -noColor -nodes=30 $( which extended.test ) -- \
-suite "${TEST_SUITE}" -ginkgo.focus="${TEST_FOCUS}" -ginkgo.skip="${TEST_SKIP}" \
-ginkgo.focus="${TEST_FOCUS}" -ginkgo.skip="${TEST_SKIP}" \
-e2e-output-dir /tmp/artifacts -report-dir /tmp/artifacts/junit \
-test.timeout=10m ${PROVIDER_ARGS-} || rc=$?
fi
if [[ -n "${TEST_SUITE_SERIAL}" || -n "${TEST_FOCUS_SERIAL}" ]]; then
if [[ -n "${TEST_FOCUS_SERIAL}" ]]; then
ginkgo -v -noColor -nodes=1 $( which extended.test ) -- \
-suite "${TEST_SUITE_SERIAL}" -ginkgo.focus="${TEST_FOCUS_SERIAL}" -ginkgo.skip="${TEST_SKIP_SERIAL}" \
-ginkgo.focus="${TEST_FOCUS_SERIAL}" -ginkgo.skip="${TEST_SKIP_SERIAL}" \
-e2e-output-dir /tmp/artifacts -report-dir /tmp/artifacts/junit/serial \
-test.timeout=20m ${PROVIDER_ARGS-} || rc=$?
fi
Expand Down
2 changes: 0 additions & 2 deletions ci-operator/templates/cluster-launch-src.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ parameters:
required: true
- name: CLUSTER_TYPE
required: true
- name: TEST_SUITE
- name: TEST_FOCUS
- name: TEST_SKIP
value: "\\[local\\]"
- name: TEST_SUITE_SERIAL
- name: TEST_FOCUS_SERIAL
- name: TEST_SKIP_SERIAL
value: "\\[local\\]"
Expand Down

0 comments on commit 8561f18

Please sign in to comment.