Juan José Mata
8d649bc5b9
perf: make provider retry backoff sleeps stubbable in tests ( #2552 )
...
Provider::Simplefin, Provider::Akahu and Provider::Up called
Kernel.sleep for retry backoff, which bypasses the instance-level
stubs(:sleep) the retry tests already set up - so the SimpleFIN retry
tests really slept through the 2s/4s/8s exponential backoff (16.8s for
the max-retries test alone, 23.5s for the suite).
Call sleep on the instance instead (same Kernel method, same behavior)
so mocha stubs take effect. The Simplefin with_retries sleep: keyword
is renamed to backoff: since it would shadow the method.
Provider::SimplefinTest drops from 23.5s to ~1s.
Claude-Session: https://claude.ai/code/session_01RpZe2ajeGkPRRBHfaJTfUB
Co-authored-by: Claude <noreply@anthropic.com >
2026-07-08 09:03:36 +02:00
..
2026-06-30 08:19:25 +02:00
2026-07-04 03:27:59 +02:00
2026-06-02 21:44:57 +02:00
2026-06-02 21:44:57 +02:00
2026-06-02 21:44:57 +02:00
2026-06-21 12:01:39 +02:00
2026-07-04 02:47:46 +02:00
2026-06-27 00:57:03 +00:00
2026-05-27 23:58:00 +02:00
2026-05-27 23:58:00 +02:00
2026-05-13 18:13:48 +02:00
2026-05-13 18:13:48 +02:00
2026-05-13 18:13:48 +02:00
2026-05-30 00:12:54 +02:00
2025-03-28 13:08:22 -04:00
2026-01-21 22:56:39 +01:00
2026-01-21 22:56:39 +01:00
2026-04-11 21:37:07 +02:00
2026-04-01 20:25:06 +02:00
2026-06-20 21:43:20 +02:00
2026-06-28 17:02:07 +02:00
2026-07-04 03:22:53 +02:00
2026-07-08 08:08:10 +02:00
2026-05-12 00:17:49 +02:00
2026-06-11 16:48:40 +02:00
2026-02-06 18:04:03 +01:00
2026-04-13 00:51:23 +02:00
2026-07-08 09:00:49 +02:00
2026-06-08 21:45:35 +02:00
2026-05-27 23:33:08 +02:00
2026-05-26 22:48:23 +02:00
2026-05-12 23:45:19 +02:00
2026-06-03 00:37:21 +02:00
2026-06-27 00:57:03 +00:00
2026-04-27 18:33:22 +02:00
2026-04-27 18:33:22 +02:00
2026-06-18 20:18:18 +02:00
2026-06-30 07:35:14 +02:00
2026-06-30 07:35:14 +02:00
2026-07-08 08:08:10 +02:00
2026-02-19 18:58:01 +01:00
2026-07-08 08:08:10 +02:00
2026-05-30 23:27:18 +02:00
2026-01-22 20:37:07 +01:00
2026-06-30 07:37:14 +02:00
2026-06-30 07:37:14 +02:00
2026-07-04 08:24:31 +02:00
2026-03-25 17:47:04 +01:00
2026-01-10 20:11:00 +01:00
2026-03-13 08:11:51 +01:00
2026-07-08 09:03:36 +02:00
2026-06-09 23:02:26 +02:00
2026-07-08 09:00:49 +02:00
2026-07-08 09:00:49 +02:00
2026-06-18 12:28:32 +02:00
2026-06-15 22:12:24 +02:00
2026-06-19 17:07:09 +02:00
2026-01-05 22:11:47 +01:00
2026-05-13 18:17:10 +02:00
2026-01-16 12:34:06 +01:00
2026-06-28 16:12:33 +02:00
2026-05-30 23:29:37 +02:00
2026-06-29 00:30:03 +02:00
2026-04-19 11:16:04 +02:00
2026-04-19 11:16:04 +02:00
2026-05-09 21:55:20 +02:00
2026-06-03 00:37:21 +02:00
2025-10-22 16:02:50 +02:00
2026-06-19 16:54:37 +02:00
2026-06-01 22:02:01 +02:00
2026-06-28 19:47:53 +00:00
2026-06-20 20:33:09 +02:00
2026-06-30 08:19:25 +02:00
2026-06-20 20:33:09 +02:00
2025-07-15 11:42:41 -04:00
2026-06-08 21:35:12 +02:00
2026-05-13 20:07:00 +02:00
2026-05-19 13:37:10 +02:00
2026-01-07 15:59:04 +01:00
2026-03-25 10:50:23 +01:00
2026-05-30 00:22:25 +02:00
2026-06-30 07:26:23 +02:00
2026-06-11 09:04:56 +02:00
2025-04-16 20:26:45 -05:00
2026-06-02 21:44:57 +02:00
2026-06-02 21:44:57 +02:00
2026-06-26 06:47:38 +02:00
2026-03-14 20:14:18 +01:00
2026-05-03 20:33:29 +02:00
2026-06-21 12:01:39 +02:00
2026-05-01 13:31:32 +02:00
2026-06-25 05:44:44 +02:00
2026-03-25 10:50:23 +01:00
2025-07-23 18:15:14 -04:00
2026-04-07 14:43:17 +02:00
2026-04-07 14:43:17 +02:00
2026-05-13 18:13:48 +02:00
2026-05-13 18:13:48 +02:00
2026-05-30 00:51:16 +02:00
2026-06-27 00:57:03 +00:00
2026-05-17 09:52:49 +02:00
2026-06-29 00:37:59 +02:00
2026-06-25 05:44:44 +02:00
2026-03-19 15:17:55 +01:00
2026-04-07 16:28:01 +02:00
2026-04-01 20:25:06 +02:00
2026-04-01 20:25:06 +02:00
2026-05-13 18:13:48 +02:00
2026-05-18 20:49:28 +02:00
2026-03-25 10:50:23 +01:00
2026-07-08 09:00:49 +02:00
2026-05-17 16:55:01 +02:00
2026-05-31 16:24:01 +02:00
2026-07-08 08:08:10 +02:00
2026-06-04 19:53:52 +02:00
2026-05-31 22:17:56 +02:00
2026-06-16 10:51:51 +02:00
2026-03-29 17:30:12 +02:00
2026-04-13 00:51:23 +02:00
2025-03-17 11:54:53 -04:00
2026-02-11 15:22:56 +01:00
2025-09-24 00:19:51 +02:00
2026-01-09 19:38:04 +01:00
2026-01-21 17:16:51 +01:00
2026-07-08 09:00:49 +02:00
2026-06-30 06:55:29 +02:00
2026-06-30 07:26:23 +02:00
2026-06-30 07:26:23 +02:00
2026-05-12 23:45:19 +02:00
2026-05-12 23:45:19 +02:00
2026-05-12 23:45:19 +02:00
2024-10-18 11:26:58 -05:00
2024-10-18 11:26:58 -05:00
2026-06-04 11:48:44 +02:00
2026-06-04 11:48:44 +02:00
2026-06-16 17:13:03 +02:00
2026-06-27 00:57:03 +00:00
2026-03-19 15:17:55 +01:00
2026-05-17 09:52:49 +02:00
2026-06-27 00:57:03 +00:00
2026-06-27 00:57:03 +00:00
2026-05-05 01:04:29 +02:00
2026-07-08 08:59:54 +02:00
2026-01-23 22:05:28 +01:00
2026-05-12 00:22:37 +02:00
2026-05-12 00:22:37 +02:00
2026-06-01 22:00:48 +02:00
2026-06-11 20:26:40 +02:00
2026-07-08 08:08:10 +02:00
2026-05-12 12:18:17 +02:00
2026-04-09 18:33:59 +02:00
2026-06-06 16:33:32 +02:00
2025-11-01 09:12:42 +01:00
2026-03-19 15:17:55 +01:00
2026-05-03 10:56:31 +02:00
2026-06-14 22:09:02 +02:00
2026-05-12 00:00:49 +02:00
2026-02-06 18:04:29 +01:00
2026-07-04 08:24:31 +02:00
2025-02-21 11:57:59 -05:00
2025-02-21 11:57:59 -05:00
2026-06-09 23:02:26 +02:00
2026-06-04 23:11:43 +02:00
2026-05-17 09:52:49 +02:00
2026-05-28 14:55:21 +02:00
2026-05-05 01:04:29 +02:00
2026-07-08 09:00:49 +02:00
2026-07-08 09:00:49 +02:00
2025-05-15 10:19:56 -04:00
2026-05-05 01:12:48 +02:00
2026-07-08 09:00:49 +02:00
2026-07-08 09:00:49 +02:00
2026-06-03 00:04:32 +02:00
2025-04-14 11:40:34 -04:00
2026-05-17 09:52:49 +02:00
2026-05-14 21:56:49 +02:00
2026-05-17 09:52:49 +02:00
2026-06-19 17:07:09 +02:00
2025-11-20 08:31:03 +01:00
2026-01-23 22:05:28 +01:00
2026-06-19 17:07:09 +02:00
2026-06-25 05:38:06 +02:00
2026-06-28 16:12:33 +02:00
2026-05-30 23:29:37 +02:00
2026-06-29 00:30:03 +02:00
2026-05-17 09:52:49 +02:00
2026-05-09 21:55:20 +02:00
2026-01-03 17:56:42 -05:00
2026-05-05 00:47:45 +02:00
2026-05-17 09:52:49 +02:00
2026-01-23 18:55:51 +01:00
2026-06-04 11:48:44 +02:00
2026-06-29 00:47:09 +02:00
2026-02-23 17:43:00 -05:00
2025-03-28 13:08:22 -04:00
2026-05-13 20:07:00 +02:00
2026-05-12 23:45:19 +02:00
2026-05-13 20:07:00 +02:00
2026-06-30 11:55:59 +05:30
2026-06-30 18:00:13 +00:00
2026-07-04 03:13:39 +02:00
2026-06-20 20:33:09 +02:00
2026-06-20 20:33:09 +02:00
2026-05-03 20:33:29 +02:00
2026-07-01 01:50:20 +02:00
2025-07-15 11:42:41 -04:00
2026-02-11 15:22:56 +01:00
2025-04-14 11:40:34 -04:00
2026-05-03 22:13:28 +02:00
2026-06-16 08:32:17 +02:00