Open troglobit opened 1 month ago
For purposes of testing it would be beneficial to support fuzzing the API to sysrepo. E.g., setting a failure rate for an XPath in the operational datastore.
Possible API:
/system/test/fault-injection <F>
Where <F> is a list of faults:
<F>
{ xpath: ... event: ..... rc: ... }
Now this belongs in package/conf-test-mode.
package/conf-test-mode
For purposes of testing it would be beneficial to support fuzzing the API to sysrepo. E.g., setting a failure rate for an XPath in the operational datastore.
Possible API:
/system/test/fault-injection <F>
Where
<F>
is a list of faults: