fault injection for testing and triggering bugs
|Reported by:||Antoine Martin||Owned by:||Antoine Martin|
Hopefully this can help us with hard to trigger bugs and for catching corner cases that are difficult to encounter under normal circumstances. Things like error handlers, etc..
- gibberish should always cause the new sound wrapper process to abort, r9888 fixes this (r9891 improves the logging) - r9889 makes it easier to trigger by adding fault injection environment variables:
XPRA_PROTOCOL_FAULT_INJECTION_RATE=1000 xpra ...will cause the xpra protocol layer to send an invalid packet every 1000 packets - this should cause the other end to hangup
XPRA_WRAPPER_FAULT_INJECTION_RATE=500 xpra ...does the same thing but for the wrapper layer
- failures to encode packets are rare, but can occur - r9892 makes it easier to trigger by adding "None" values to the sound data (which fails when using the bencoder - no failures with rencode..)
More to come, for #902.
Change History (6)
comment:3 Changed 19 months ago by
|Owner:||changed from Antoine Martin to alas|
|Status:||assigned → new|
Note: See TracTickets for help on using tickets.