When we ran into these timeouts, they were always false negatives. It is hard to find right values for them. If someone does introduce a bug that hangs one of the tests, we still have the global timeout. Fixes #648
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
## Global test variables
|
|
# Tests should use this as their working directory. This part is critical
|
|
# since dnf-json must be in $PATH.
|
|
tests_working_directory: /usr/libexec/osbuild-composer
|
|
|
|
# The test executables are here.
|
|
tests_path: /usr/libexec/tests/osbuild-composer
|
|
|
|
# Frequency to check for completed tests.
|
|
polling_interval: 15
|
|
|
|
## Non-image test variables.
|
|
# List of base tests
|
|
osbuild_composer_base_tests:
|
|
- osbuild-rcm-tests
|
|
- osbuild-weldr-tests
|
|
- osbuild-dnf-json-tests
|
|
- osbuild-tests
|
|
|
|
## Image test variables.
|
|
# Executable that runs image tests.
|
|
image_test_executable: "{{ tests_path }}/osbuild-image-tests"
|
|
|
|
# Location of image test case files.
|
|
image_test_case_path: /usr/share/tests/osbuild-composer/cases
|
|
|
|
# List of image tests
|
|
osbuild_composer_image_test_cases:
|
|
- ami-boot.json
|
|
- ext4_filesystem-boot.json
|
|
- openstack-boot.json
|
|
- partitioned_disk-boot.json
|
|
- qcow2-boot.json
|
|
- tar-boot.json
|
|
- vhd-boot.json
|
|
- vmdk-boot.json
|
|
|
|
# Environment variables for image tests.
|
|
osbuild_composer_image_env_vars: {}
|
|
|
|
# List of AWS test cases
|
|
osbuild_composer_aws_test_cases:
|
|
- ami-boot.json
|
|
|
|
# Environment variables for AWS tests.
|
|
osbuild_composer_aws_env_vars:
|
|
AWS_BUCKET: "{{ lookup('env', 'AWS_BUCKET') }}"
|
|
AWS_REGION: "{{ lookup('env', 'AWS_REGION') }}"
|
|
AWS_ACCESS_KEY_ID: "{{ lookup('env', 'AWS_ACCESS_KEY_ID') }}"
|
|
AWS_SECRET_ACCESS_KEY: "{{ lookup('env', 'AWS_SECRET_ACCESS_KEY') }}"
|