Hello, firstly, thank you for the great tool!
In my application, we use shuttle to test interleaving of multiple operations on a specialized cache by running every possible combination of operations and IDs. We know that some of those combinations are invalid and will corrupt the cache (e.g. concurrent delete and insertion of the same ID), and when we detect such case we log the shuttle error and continue to the next combination. However, this means that we abort the shuttle execution at the first error while there could be others for the same combination of operations, possibly resulting into an actual invalid state for our application.
What would be nice to have is something like a shuttle::continue API to inform shuttle that we expected an error there and just log/ignore it.
I'm not sure if this is possible with the current design, or if there is already a way to achieve this that I overlooked.
Hello, firstly, thank you for the great tool!
In my application, we use shuttle to test interleaving of multiple operations on a specialized cache by running every possible combination of operations and IDs. We know that some of those combinations are invalid and will corrupt the cache (e.g. concurrent delete and insertion of the same ID), and when we detect such case we log the shuttle error and continue to the next combination. However, this means that we abort the shuttle execution at the first error while there could be others for the same combination of operations, possibly resulting into an actual invalid state for our application.
What would be nice to have is something like a
shuttle::continueAPI to inform shuttle that we expected an error there and just log/ignore it.I'm not sure if this is possible with the current design, or if there is already a way to achieve this that I overlooked.