mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-09-01 09:37:16 +00:00
* feat(tests): migrate pod error scenario tests to v2 framework Signed-off-by: Harsh Jain <hjain4815@gmail.com> * chore: drop unrelated file from PR Signed-off-by: Harsh Jain <hjain4815@gmail.com> * refactor: rename assert_no_hang_and_correct_logs to assert_failure_logs_contain Signed-off-by: Harsh Jain <hjain4815@gmail.com> * docs: reference pod_disruption_scenario_plugin.py:234 in test comment Signed-off-by: Harsh Jain <hjain4815@gmail.com> --------- Signed-off-by: Harsh Jain <hjain4815@gmail.com>
21 lines
1.1 KiB
INI
21 lines
1.1 KiB
INI
[pytest]
|
|
testpaths = .
|
|
python_files = test_*.py
|
|
python_functions = test_*
|
|
# Install CI/tests_v2/requirements.txt for --timeout, --reruns, --reruns-delay.
|
|
# Example full run: pytest CI/tests_v2/ -v --timeout=300 --reruns=2 --reruns-delay=10 --html=... --junitxml=...
|
|
addopts = -v
|
|
markers =
|
|
functional: marks a test as a functional test (deselect with '-m "not functional"')
|
|
pod_disruption: marks a test as a pod disruption scenario test
|
|
pod_error_scenarios: marks a test as a pod error/failure-mode scenario test
|
|
application_outage: marks a test as an application outage scenario test
|
|
storage_throttle: marks a test as a storage throttle scenario test
|
|
cpu_hog: marks a test as a CPU hog scenario test
|
|
memory_hog: marks a test as a memory hog scenario test
|
|
node_scenarios: marks a test as a node chaos scenario test (node reboot/stop-start)
|
|
namespace_deletion: marks a test as a namespace deletion (service_disruption) scenario test
|
|
no_workload: skip workload deployment for this test (e.g. negative tests)
|
|
order: set test order (pytest-order)
|
|
junit_family = xunit2
|