grafana / xk6-disruptor

Extension for injecting faults into k6 tests
https://k6.io/docs/javascript-api/xk6-disruptor/
GNU Affero General Public License v3.0
89 stars 9 forks source link

Improve test coverage for ServiceDisruptor JS API #360

Open pablochacin opened 10 months ago

pablochacin commented 10 months ago

The initial implementation of the ServiceDisruptor was a wrapper for a PodDisruptor. Therefore, the fault injection methods were tested only in the PodDisruptor. As this implementation has changed and the implementation of fault injection for both disruptors has diverged, it is necessary to ensure the tests for the ServiceDisruptor cover all the fault injection methods.