blob: 23cb116897564a2a2c2f2ae88f9445b478e239b0 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is used to show how to write configuration files and can be used to test.
setup:
env: compose
# Run a httpbin container, which can return YAML data
file: docker-compose.yml
timeout: 20m
cleanup:
# always never success failure
on: always
verify:
# verify with retry strategy
retry:
# max retry count
count: 1
# the interval between two attempts, e.g. 10s, 1m.
interval: 1s
# when a case fails, whether to stop verifying other cases. This property defaults to true.
fail-fast: false
# Whether to verify cases concurrently. This property defaults to false.
concurrency: false
cases:
- name: non-currency & fail-fast mode
query: './bin/linux/e2e verify -c ./test/e2e/non-concurrency/fail-fast/internal/verify.yaml --summary-only -o yaml'
expected: ./non-concurrency/fail-fast/expected.yaml
- name: non-currency & non-fail-fast mode
query: './bin/linux/e2e verify -c ./test/e2e/non-concurrency/non-fail-fast/internal/verify.yaml --summary-only -o yaml'
expected: ./non-concurrency/non-fail-fast/expected.yaml
- name: currency & fail-fast mode
query: './bin/linux/e2e verify -c ./test/e2e/concurrency/fail-fast/internal/verify.yaml --summary-only -o yaml'
expected: ./concurrency/fail-fast/expected.yaml
- name: currency & non-fail-fast mode
query: './bin/linux/e2e verify -c ./test/e2e/concurrency/non-fail-fast/internal/verify.yaml --summary-only -o yaml'
expected: ./concurrency/non-fail-fast/expected.yaml