Skip to content

Commit

Permalink
fix(test): add slightly longer sleep time to poorly concurrent test (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
cfieber committed Sep 2, 2020
1 parent a505a79 commit ca87f8b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -163,7 +163,7 @@ class RedisPermissionsRepositorySpec extends Specification {
// this is gross, but a brief sleep will ensure the repo.get
// call attempts to make a redis call and hits the pause
// point in the PausableRedisClientDelegate.
Thread.sleep(1)
Thread.sleep(5)
clock.tick(configProps.repository.getPermissionTimeout.plusMillis(1))
redisClientDelegate.resume()
result.get()
Expand Down

0 comments on commit ca87f8b

Please sign in to comment.