Disable redis select command in tests
This commit is contained in:
parent
ffbbf04e86
commit
e3b5d711df
|
@ -183,7 +183,7 @@ class RedisWrapper {
|
||||||
CLOSED = false
|
CLOSED = false
|
||||||
init(this._select)
|
init(this._select)
|
||||||
await waitForConnection(this._select)
|
await waitForConnection(this._select)
|
||||||
if (this._select) {
|
if (this._select && !env.isTest()) {
|
||||||
this.getClient().select(this._select)
|
this.getClient().select(this._select)
|
||||||
}
|
}
|
||||||
return this
|
return this
|
||||||
|
|
Loading…
Reference in New Issue