[RocksJava] Fix RateLimiter Tests in 3.10

This commit is contained in:
fyrz 2015-04-15 23:19:41 +02:00
parent 6cfb2150d4
commit 582c4b0f74
2 changed files with 2 additions and 2 deletions

View file

@ -555,7 +555,7 @@ public class DBOptionsTest {
try {
options = new DBOptions();
RateLimiterConfig rateLimiterConfig =
new GenericRateLimiterConfig(1000, 0, 1);
new GenericRateLimiterConfig(1000, 100 * 1000, 1);
options.setRateLimiterConfig(rateLimiterConfig);
// Test with parameter initialization
anotherOptions = new DBOptions();

View file

@ -1130,7 +1130,7 @@ public class OptionsTest {
RateLimiterConfig rateLimiterConfig;
try {
options = new Options();
rateLimiterConfig = new GenericRateLimiterConfig(1000, 0, 1);
rateLimiterConfig = new GenericRateLimiterConfig(1000, 100 * 1000, 1);
options.setRateLimiterConfig(rateLimiterConfig);
// Test with parameter initialization
anotherOptions = new Options();