-
-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rate remaining header value for Redis repository #279
Conversation
Merge marcosbarbero:master
Master merge
merge master branch
Conflicts: spring-cloud-zuul-ratelimit-core/src/main/java/com/marcosbarbero/cloud/autoconfigure/zuul/ratelimit/config/repository/RedisRateLimiter.java spring-cloud-zuul-ratelimit-core/src/test/java/com/marcosbarbero/cloud/autoconfigure/zuul/ratelimit/config/repository/RedisRateLimiterTest.java
Merge master
merge master
Bump infinispan.version from 10.0.1.Final to 10.1.0.Final (#271)
For some reason, Travis is not breaking in the IT tests, but the test on Scroll all the way down to the bottom of the raw logs and you'll see it. |
It fails because I used an existing service path in my test. So if my test runs before testNotExceedingCapacityRequest test, the limit refresh interval did not end and we get 429. This failure depends on the order of execution. You ca reproduce it by commenting all the tests except testNotExceedingCapacityRequest and testShouldReturnCorrectRateRemainingValue. |
Fixes #273
Changes proposed in this pull request: