Pavel Emelyanov
bf3cae4992
Merge 'tests: utils: error injection: print time duration instead of count' from Kefu Chai
...
before this change, we always cast the wait duration to millisecond,
even if it could be using a higher resolution. actually
`std::chrono::steady_clock` is using `nanosecond` for its duration,
so if we inject a deadline using `steady_clock`, we could be awaken
earlier due to the narrowing of the duration type caused by the
duration_cast.
in this change, we just use the duration as it is. this should allow
the caller to use the resolution provided by Seastar without losing
the precision. the tests are updated to print the time duration
instead of count to provide information with a higher resolution.
Fixes #15902
Closes scylladb/scylladb#16264
* github.com:scylladb/scylladb:
tests: utils: error injection: print time duration instead of count
error_injection: do not cast to milliseconds when injecting timeout
2024-01-25 16:13:27 +03:00
..
2023-03-07 17:54:53 +08:00
2023-05-02 11:04:05 +03:00
2024-01-15 13:26:39 +02:00
2023-02-28 21:56:53 +08:00
2023-02-01 20:14:51 -03:00
2023-03-22 13:48:50 +02:00
2023-02-01 20:14:51 -03:00
2023-09-01 22:34:41 +02:00
2023-05-04 02:37:29 +02:00
2023-09-01 22:34:41 +02:00
2023-02-15 11:01:50 +02:00
2023-02-14 11:19:03 +02:00
2023-07-27 12:01:09 +03:00
2023-09-18 23:17:01 +03:00
2023-08-12 11:46:36 +03:00
2023-02-15 11:01:50 +02:00
2023-07-18 10:27:18 +08:00
2023-02-19 12:58:22 +08:00
2023-02-01 20:14:51 -03:00
2024-01-10 08:43:04 +02:00
2023-07-28 15:55:13 +03:00
2024-01-17 09:30:55 +02:00
2023-12-17 11:40:09 -03:00
2023-02-15 11:01:50 +02:00
2023-12-02 22:37:22 +02:00
2024-01-11 08:37:56 +02:00
2023-05-24 22:58:43 +02:00
2024-01-15 13:30:05 +02:00
2023-06-26 11:29:36 +03:00
2023-02-15 11:01:50 +02:00
2023-12-02 22:37:22 +02:00
2023-02-15 11:01:50 +02:00
2024-01-15 13:04:48 +03:00
2023-04-17 14:08:37 +03:00
2024-01-11 08:37:56 +02:00
2023-12-02 22:37:22 +02:00
2024-01-18 12:50:06 +02:00
2023-12-02 22:37:22 +02:00
2023-02-15 11:09:04 +02:00
2024-01-25 19:10:24 +08:00
2023-12-20 10:25:03 +02:00
2023-12-02 22:37:22 +02:00
2023-07-19 19:32:10 +03:00
2023-12-02 22:37:22 +02:00
2023-06-06 13:29:16 +03:00
2023-02-01 20:14:51 -03:00
2023-02-01 20:14:51 -03:00
2023-02-15 11:01:50 +02:00
2023-12-05 08:42:49 +02:00
2023-12-05 13:26:46 +02:00
2023-12-14 16:54:04 +01:00
2023-02-01 20:14:51 -03:00
2024-01-11 08:37:56 +02:00
2023-11-23 11:22:31 +02:00
2023-06-28 16:11:58 +02:00
2023-02-01 20:14:51 -03:00
2023-11-27 10:03:04 +02:00
2023-02-19 21:05:45 +02:00
2023-02-19 21:05:45 +02:00
2023-02-01 20:14:51 -03:00
2023-05-23 10:40:55 +03:00
2023-12-02 22:37:22 +02:00
2023-12-12 23:19:54 +04:00
2023-02-01 20:14:51 -03:00
2023-12-02 22:37:22 +02:00
2023-02-01 20:14:51 -03:00
2023-04-17 14:08:37 +03:00
2023-12-26 21:11:48 +02:00
2023-06-06 13:29:16 +03:00
2023-10-23 08:07:14 -04:00
2024-01-11 08:37:56 +02:00
2023-11-08 14:54:48 +01:00
2024-01-11 08:37:56 +02:00
2023-12-02 22:37:22 +02:00
2023-12-17 11:26:32 -03:00
2023-05-04 03:35:15 +02:00
2024-01-22 19:14:45 +03:00
2023-02-15 11:01:50 +02:00
2023-07-18 10:27:18 +08:00
2023-06-21 00:58:24 +02:00
2024-01-11 14:33:47 +08:00
2024-01-11 08:37:56 +02:00
2023-07-19 19:32:10 +03:00
2023-02-01 20:14:51 -03:00
2023-02-15 11:01:50 +02:00
2023-02-14 11:19:03 +02:00
2023-04-26 09:00:25 +03:00
2023-02-28 21:56:53 +08:00
2024-01-11 08:37:56 +02:00
2023-07-18 16:57:11 +03:00
2023-11-02 19:28:35 +03:00
2023-06-07 12:12:19 +03:00
2023-02-28 21:56:53 +08:00
2023-04-26 22:09:17 +02:00
2023-02-01 20:14:51 -03:00
2024-01-11 08:37:56 +02:00
2023-12-07 10:54:54 +03:00
2024-01-11 09:13:37 +02:00
2023-06-26 11:24:07 +03:00
2024-01-04 03:20:17 -05:00
2023-10-11 00:32:05 +03:00
2023-12-25 18:08:19 +02:00
2023-12-05 15:18:11 +02:00
2023-05-11 16:31:23 +03:00
2023-04-27 10:24:46 +03:00
2023-12-05 14:09:34 +01:00
2023-04-27 10:24:46 +03:00
2023-12-05 08:42:49 +02:00
2023-12-02 22:37:22 +02:00
2023-12-20 19:04:41 +02:00
2023-11-02 19:30:54 +03:00
2023-11-07 09:29:30 +02:00
2023-12-01 18:20:20 +03:00
2023-12-05 08:25:04 +03:00
2023-08-14 15:40:44 +03:00
2023-12-02 22:37:22 +02:00
2023-09-01 22:34:41 +02:00
2023-10-23 21:05:13 +03:00
2023-10-04 18:50:23 +02:00
2023-10-19 09:09:38 +03:00
2023-11-02 19:27:59 +03:00
2023-04-23 21:34:02 +03:00
2023-07-12 13:10:33 +03:00
2023-12-12 23:19:54 +04:00
2024-01-22 10:26:15 +02:00
2023-12-18 16:57:46 +03:00
2024-01-23 01:12:57 +01:00
2023-05-15 10:19:39 +03:00
2023-12-25 16:02:41 +03:00
2023-04-17 14:08:37 +03:00
2023-02-15 11:09:04 +02:00
2023-10-03 10:46:47 +03:00
2023-02-01 20:14:51 -03:00
2023-12-02 22:37:22 +02:00
2023-10-12 17:04:43 +03:00
2023-11-14 11:23:05 +02:00
2024-01-18 12:50:06 +02:00
2024-01-11 08:37:56 +02:00
2023-02-01 20:14:51 -03:00
2023-02-01 20:14:51 -03:00
2023-02-01 20:14:51 -03:00
2023-05-17 15:38:03 +02:00
2023-03-06 13:17:21 +03:00
2023-11-02 19:28:35 +03:00
2023-02-01 20:14:51 -03:00
2023-06-06 08:36:09 +03:00
2023-06-06 08:36:09 +03:00