mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-02 09:07:16 +00:00
During tests, one error as below: ``` ..k8s-kill-all-process-in-container.bats: line 40: [: too many arguments ``` This commit aims to address such issue follows: (1) Update process query command to "ps aux || ps" to ensure compatibility across different container images while maximizing process visibility. (2) Use "[t]ail" in grep to reliably match the process without self-matching. (3) Quote variable in assertion to resolve "too many arguments" bash error. (4) Improve test reliability by ensuring the process list is actually visible to the verification logic. Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
Kata Containers Tests
This directory contains various types of tests for testing the Kata Containers repository.
Test Content
We provide several tests to ensure Kata-Containers run on different scenarios and with different container managers.
- Integration tests to ensure compatibility with:
- Stability tests
- Metrics
- Functional
GitHub Actions
Kata Containers uses GitHub Actions in the Kata Containers repository.