1
0
Fork 0
mirror of synced 2024-07-06 15:00:49 +12:00

Disable redis select command in tests

This commit is contained in:
Andrew Kingston 2023-05-31 16:27:49 +01:00
parent ffbbf04e86
commit e3b5d711df

View file

@ -183,7 +183,7 @@ class RedisWrapper {
CLOSED = false
init(this._select)
await waitForConnection(this._select)
if (this._select) {
if (this._select && !env.isTest()) {
this.getClient().select(this._select)
}
return this