Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README file to wrap code snippet #3308

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions glide-core/redis-rs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,14 @@ To test with logs output:
- Add `init_logger();` call in the beginning of the desired test, note that all logs from all tests will be collected from that point.
- `RUST_LOG` indicate the desired log level to collect. Options are `error, warn, info, debug, trace`.

$ RUST_LOG=<log level> cargo test --locked -p redis -- --nocapture --test-threads=1
```
$ RUST_LOG=<log level> cargo test --locked -p redis -- --nocapture --test-threads=1
```

To run a specific test with logs output:

$ RUST_LOG=<log level> cargo test --locked -p redis --test <test suite name> <test name> -- --nocapture --test-threads=1
```
$ RUST_LOG=<log level> cargo test --locked -p redis --test <test suite name> <test name> -- --nocapture --test-threads=1
```

To run benchmarks:

Expand Down
1 change: 1 addition & 0 deletions glide-core/redis-rs/redis/src/cluster_async/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1521,6 +1521,7 @@ where
.insert(address.clone(), refresh_task_state);
}
debug!("trigger_refresh_connection_tasks: Done");
// check
notifiers
}

Expand Down
Loading