Skip to content

Commit

Permalink
chore(redis): document what's needed to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Nov 4, 2024
1 parent fd7c7cc commit d5e90f4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions crates/datastore/src/redis/redis_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,14 @@ mod tests {
/// #######################################################################
/// ########################### RedisCache tests ##########################
/// #######################################################################
///
/// Note: These tests require a running Redis server. You can run a Redis server using Docker:
/// ```
/// docker pull redis/redis-stack-server:latest
/// docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest
/// ```
///
/// Reference: https://redis.io/kb/doc/1hcec8xg9w/how-can-i-install-redis-on-docker
#[tokio::test]
async fn test_new() {
Expand Down

0 comments on commit d5e90f4

Please sign in to comment.