@Test
public void backoff() throws IgniteSpiOperationTimeoutException {

    ExponentialBackoffTimeoutStrategy strategy = new ExponentialBackoffTimeoutStrategy(
        25_000L,
        1000L,
        3_000L
    );
    assertEquals(1000L, strategy.nextTimeout());
    assertEquals(1000L, strategy.nextTimeout(1000L));
    assertEquals(2000L, strategy.nextTimeout());
    assertEquals(1000L, strategy.nextTimeout(1000L));
    assertEquals(2000L, strategy.nextTimeout(2000L));
    assertEquals(3000L, strategy.nextTimeout());
    assertEquals(3000L, strategy.nextTimeout());
    assertEquals(100L, strategy.nextTimeout(100L));
}