Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
revert debugging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-darkly committed Aug 2, 2019
1 parent b4f9054 commit 450868e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ public RedisFeatureStoreTest(boolean cached) {

@Override
protected RedisFeatureStore makeStore() {
RedisFeatureStoreBuilder builder = new RedisFeatureStoreBuilder(REDIS_URI).password("foobared");
RedisFeatureStoreBuilder builder = new RedisFeatureStoreBuilder(REDIS_URI);
builder.caching(cached ? FeatureStoreCacheConfig.enabled().ttlSeconds(30) : FeatureStoreCacheConfig.disabled());
return builder.build();
}

@Override
protected RedisFeatureStore makeStoreWithPrefix(String prefix) {
return new RedisFeatureStoreBuilder(REDIS_URI).password("foobared").caching(FeatureStoreCacheConfig.disabled()).prefix(prefix).build();
return new RedisFeatureStoreBuilder(REDIS_URI).caching(FeatureStoreCacheConfig.disabled()).prefix(prefix).build();
}

@Override
protected void clearAllData() {
try (Jedis client = new Jedis(URI.create("redis://:foobared@localhost:6379"))) {
try (Jedis client = new Jedis("localhost")) {
client.flushDB();
}
}
Expand Down

0 comments on commit 450868e

Please sign in to comment.