mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Allowing for running tests on a port other than the fixed 6380 (#2466)
* Allowing for redis on a specified port * updating the readme --------- Co-authored-by: Vladimir Mihailenco <vladimir.webdev@gmail.com> Co-authored-by: Monkey <golang@88.com>
This commit is contained in:
@ -167,6 +167,12 @@ Lastly, run:
|
||||
go test
|
||||
```
|
||||
|
||||
Another option is to run your specific tests with an already running redis. The example below, tests against a redis running on port 9999.:
|
||||
|
||||
```shell
|
||||
REDIS_PORT=9999 go test <your options>
|
||||
```
|
||||
|
||||
## See also
|
||||
|
||||
- [Golang ORM](https://bun.uptrace.dev) for PostgreSQL, MySQL, MSSQL, and SQLite
|
||||
|
Reference in New Issue
Block a user