-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable tests for the underlying Redis::Store implementation
- Loading branch information
Tom Scott
committed
Dec 11, 2017
1 parent
96b9c66
commit f296810
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,10 +26,10 @@ def sha_like? | |
cache = ::Rack::Cache::EntityStore::Redis.resolve(uri("redis://127.0.0.1/13")).cache | ||
cache.id.must_equal("redis://127.0.0.1:6379/13") | ||
|
||
cache = ::Rack::Cache::EntityStore::Redis.resolve(uri("redis://:[email protected]")).cache | ||
cache.id.must_equal("redis://127.0.0.1:6379/0") | ||
cache.client.password.must_equal('secret') | ||
# cache = ::Rack::Cache::EntityStore::Redis.resolve(uri("redis://:[email protected]")).cache | ||
# cache.id.must_equal("redis://127.0.0.1:6379/0") | ||
# cache.client.password.must_equal('secret') | ||
|
||
cache = Rack::Cache::MetaStore::Redis.resolve(uri("redis://127.0.0.1:6380/0/entitystore")).cache | ||
cache.to_s.must_equal("Redis Client connected to 127.0.0.1:6380 against DB 0 with namespace entitystore") | ||
end | ||
|
@@ -121,4 +121,4 @@ def sha_like? | |
define_method :uri do |uri| | ||
URI.parse uri | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,9 +32,9 @@ | |
cache = Rack::Cache::MetaStore::Redis.resolve(uri("redis://127.0.0.1/13")).cache | ||
cache.to_s.must_equal("Redis Client connected to 127.0.0.1:6379 against DB 13") | ||
|
||
cache = Rack::Cache::MetaStore::Redis.resolve(uri("redis://:[email protected]")).cache | ||
cache.id.must_equal("redis://127.0.0.1:6379/0") | ||
cache.client.password.must_equal('secret') | ||
# cache = Rack::Cache::MetaStore::Redis.resolve(uri("redis://:[email protected]")).cache | ||
# cache.id.must_equal("redis://127.0.0.1:6379/0") | ||
# cache.client.password.must_equal('secret') | ||
|
||
cache = Rack::Cache::MetaStore::Redis.resolve(uri("redis://127.0.0.1:6380/0/metastore")).cache | ||
cache.to_s.must_equal("Redis Client connected to 127.0.0.1:6380 against DB 0 with namespace metastore") | ||
|