Add fault injection code in tests #70
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add infrastructure for fault injection testing to verify that tests correctly detect failures and CI pipeline properly reports them.
Motivation
Currently there's no automated way to verify that:
We discovered this gap when testing cmocka 2.0 compatibility - cached Docker images masked the actual test failures.
Proposed Solution
Test failure injection mode
--inject-faultflag to test runnermake check INJECT_FAULT=1should always failCI verification job
Docker cache invalidation strategy
--no-cacheImplementation Ideas
Acceptance Criteria
make check INJECT_FAULT=1fails with clear error messageRelated
Labels
testing,ci/cd,enhancementAdd fault injection testing infrastructureto Add fault injection code in tests