Skip to content

Commit d3d0c0a

Browse files
committed
Update CHANGELOG
1 parent 81e60d1 commit d3d0c0a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
- Added `set_multi` method to the ASCII protocol.
1616
- Added `flush_all` method to the ASCII protocol.
1717
- Added `delete_multi_no_reply` method to the ASCII protocol.
18+
- Added `Toxiproxy` resiliency testing.
1819

1920
### Changed
2021

21-
- Changed the name of `get_many`. This method has been renamed to `get_multi`. `get_many` will persist as an alias, but it is now deprecated and will be removed in a future version.
22+
- Changed the name of `get_many` to `get_multi` which conforms with expected memcached naming. `get_many` will persist as an alias, but it is now deprecated and will be removed in a future version.
2223
- Instances of `std::collections::HashMap` have been changed to `fxhash::FxHashMap` to improve performance.
2324
- Outlined the process of releasing a new crate version in `README.md`.
2425

tests/resil.rs renamed to tests/resiliency_tests.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ mod tests {
105105
assert_eq!(result, Ok(None));
106106
}
107107

108-
let result = rt.block_on(async { clean_client.set_multi(kv, None, None).await });
108+
let result = rt.block_on(async { clean_client.set_multi(&kv, None, None).await });
109109

110110
assert!(result.is_ok());
111111
}
@@ -138,7 +138,7 @@ mod tests {
138138

139139
let _ = toxic_proxy.with_down(|| {
140140
rt.block_on(async {
141-
let result = toxic_client.set_multi(kv, None, None).await;
141+
let result = toxic_client.set_multi(&kv, None, None).await;
142142
assert_eq!(
143143
result,
144144
Err(async_memcached::Error::Io(
@@ -199,7 +199,7 @@ mod tests {
199199
rt.block_on(async {
200200
let kv: Vec<(&str, &str)> =
201201
keys.clone().into_iter().zip(values.clone()).collect();
202-
let result = toxic_client.set_multi(kv.clone(), None, None).await;
202+
let result = toxic_client.set_multi(&kv, None, None).await;
203203

204204
assert_eq!(
205205
result,
@@ -280,7 +280,7 @@ mod tests {
280280
let kv: Vec<(&str, &str)> =
281281
keys.clone().into_iter().zip(values.clone()).collect();
282282

283-
let set_result = toxic_client.set_multi(kv.clone(), None, None).await;
283+
let set_result = toxic_client.set_multi(&kv, None, None).await;
284284

285285
assert_eq!(
286286
set_result,

0 commit comments

Comments
 (0)