Pavel Solodovnikov
057adc8b4d
utils: add error injection
...
Error injection class is implemented in order to allow injecting
various errors (exceptions, stalls, etc.) in code for testing
purposes.
Error injection is enabled via compile flag
SCYLLA_ENABLE_ERROR_INJECTION
TODO: manage shard instances
Enable error injection in debug/dev/sanitize modes.
Unit tests for error injection class.
Closes #3295
Signed-off-by: Pavel Solodovnikov <pa.solodovnikov@scylladb.com >
Signed-off-by: Alejo Sanchez <alejo.sanchez@scylladb.com >
2020-03-20 19:37:48 +01:00
..
2018-10-02 18:48:23 +01:00
2020-01-30 14:10:18 +02:00
2018-05-09 16:52:26 +01:00
2018-05-30 12:18:56 +02:00
2018-12-24 09:58:08 +02:00
2018-12-24 09:58:08 +02:00
2020-01-22 08:16:03 -08:00
2020-03-04 13:28:16 +02:00
2020-03-04 13:28:16 +02:00
2018-11-01 13:16:17 +00:00
2018-11-21 00:01:44 +02:00
2018-05-10 09:47:41 +03:00
2018-04-16 21:11:13 +02:00
2018-04-16 21:11:13 +02:00
2019-08-01 18:39:47 +03:00
2020-02-28 17:04:08 -08:00
2018-12-03 14:36:08 +01:00
2019-06-28 16:43:25 +03:00
2019-07-15 17:02:09 +03:00
2020-01-24 09:08:59 +01:00
2018-05-30 14:41:40 +02:00
2018-12-03 14:36:08 +01:00
2019-01-08 13:16:36 +02:00
2020-02-09 17:26:52 +02:00
2019-12-12 19:52:01 +03:00
2020-02-09 17:26:52 +02:00
2020-02-09 17:26:52 +02:00
2018-04-07 14:52:58 +03:00
2018-04-07 14:52:58 +03:00
2019-12-09 09:45:59 -05:00
2020-03-20 19:37:48 +01:00
2020-03-20 19:37:48 +01:00
2018-11-21 00:01:44 +02:00
2020-02-29 19:28:57 +02:00
2020-02-29 19:28:57 +02:00
2019-01-08 13:16:36 +02:00
2019-02-07 18:31:25 +02:00
2019-11-26 02:24:49 +03:00
2019-12-12 17:32:10 +03:00
2019-12-12 17:32:10 +03:00
2018-11-01 13:16:17 +00:00
2020-01-13 16:52:59 +02:00
2019-03-04 10:23:45 +00:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2018-11-01 13:16:17 +00:00
2018-05-10 09:47:41 +03:00
2019-11-26 02:24:49 +03:00
2019-01-08 13:16:36 +02:00
2019-01-08 13:16:36 +02:00
2018-04-10 10:25:06 +03:00
2018-05-15 11:22:21 -04:00
2020-02-27 09:34:51 -05:00
2020-02-27 09:34:51 -05:00
2018-04-16 20:56:30 +02:00
2018-04-16 20:56:30 +02:00
2019-12-02 10:10:31 +02:00
2019-08-26 18:54:44 +03:00
2019-08-26 18:54:44 +03:00
2019-06-23 19:32:51 +03:00
2020-03-11 12:29:31 +02:00
2020-02-27 18:36:32 +02:00
2018-01-30 18:33:25 +01:00
2019-01-18 13:48:05 +00:00
2019-10-15 15:41:42 +03:00
2018-09-03 17:09:54 +03:00
2018-11-21 14:04:27 +01:00
2019-11-26 02:24:49 +03:00
2020-03-04 12:42:57 +02:00
2020-03-04 12:42:57 +02:00
2019-01-08 13:16:36 +02:00
2018-07-11 10:15:01 +01:00
2018-07-20 13:50:17 -07:00
2018-11-20 16:15:12 +00:00
2018-06-27 12:48:30 +02:00
2019-01-08 13:16:36 +02:00
2018-11-21 00:01:44 +02:00
2018-09-30 11:12:23 +03:00
2018-12-12 09:32:05 +00:00
2019-12-02 10:10:31 +02:00
2017-10-18 08:49:52 +02:00
2020-03-03 21:23:40 +02:00
2017-06-29 02:08:12 -03:00
2018-12-28 16:31:24 +01:00
2020-02-27 18:11:54 +02:00
2020-02-27 18:11:54 +02:00
2018-12-05 21:51:01 +02:00
2018-12-05 21:51:01 +02:00
2019-02-20 08:03:46 -08:00
2020-01-27 11:09:01 +02:00
2018-11-21 00:01:44 +02:00
2020-01-26 18:54:36 +02:00