Skip to content

Commit

Permalink
Tests speedup - flaky acquirePermissionAndMetrics fixup (ReactiveX#617)…
Browse files Browse the repository at this point in the history
  • Loading branch information
hexmind authored and RobWin committed Sep 18, 2019
1 parent 484dc72 commit e94cb88
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
import static com.jayway.awaitility.Awaitility.await;
import static io.vavr.control.Try.run;
import static java.lang.Thread.State.*;
import static java.time.LocalDateTime.now;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.BDDAssertions.then;
import static org.hamcrest.CoreMatchers.equalTo;
Expand All @@ -47,7 +46,7 @@
public class SemaphoreBasedRateLimiterImplTest {

private static final int LIMIT = 2;
private static final Duration TIMEOUT = Duration.ofMillis(50);
private static final Duration TIMEOUT = Duration.ofMillis(100);
private static final Duration REFRESH_PERIOD = Duration.ofMillis(100);
private static final String CONFIG_MUST_NOT_BE_NULL = "Config must not be null";
private static final String NAME_MUST_NOT_BE_NULL = "Name must not be null";
Expand Down

0 comments on commit e94cb88

Please sign in to comment.