Files
scylladb/utils
Alejo Sanchez febcced4f1 utils: error injection with timeout/deadline
Most of Scylla code runs with a user-supplied query timeout, expressed as
absolute clock (deadline). When injecting test sleeps into such code, we most
often want to not sleep beyond the user supplied deadline. Extend error
injection API to optionally accept a deadline, and, if it is provided,
sleep no more than up to the deadline. If current time is beyond deadline,
sleep injection is skipped altogether.

Signed-off-by: Alejo Sanchez <alejo.sanchez@scylladb.com>
Message-Id: <20200326091600.1037717-2-alejo.sanchez@scylladb.com>
2020-03-26 12:41:10 +01:00
..
2020-01-30 14:10:18 +02:00
2020-03-23 11:59:30 +02:00
2018-12-03 14:36:08 +01:00
2018-12-03 14:36:08 +01:00
2019-12-09 09:45:59 -05:00
2020-03-20 19:37:48 +01:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2020-03-23 11:59:30 +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
2018-11-21 00:01:44 +02:00
2020-01-26 18:54:36 +02:00